ios6屏幕旋转和支持iphone5的4inch屏幕例子

时间:2016-02-27 03:47:47
【文件属性】:
文件名称:ios6屏幕旋转和支持iphone5的4inch屏幕例子
文件大小:77KB
文件格式:RAR
更新时间:2016-02-27 03:47:47
ios6 屏幕旋转 iphone5 4英寸屏幕 ios6.0的屏幕旋转机制和之前的版本有很大的不同了,这个资源就是我自己写的支持ios6.0屏幕旋转的例子。是navigationController作为rootViewController的例子,通过重写一个navigationController类来实现。对屏幕旋转的支持其实可以直接在这个类里面实现,但是我这里是通过topViewController重写的shouldAutoRotate方法和supportInterfaceOrientation方法来实现。 另外为了对iphone5的4英寸屏幕的支持,这里也是一个例子。其实实现很简单,仅仅加上一个命名为xxx-568@2x.png的启动画面图片就可以了。 看到网上居然没有这些例子的代码,秉着我为人人的精神而制做的,希望有帮到你。
【文件预览】:
OrientationTest
----.DS_Store(6KB)
----._.DS_Store(4KB)
----OrientationTest()
--------ViewController.m(804B)
--------.DS_Store(6KB)
--------._ViewController.h(4KB)
--------MyNavigationController.h(242B)
--------._OrientationTest-Info.plist(4KB)
--------en.lproj()
--------main.m(341B)
--------Test.png(7KB)
--------Test-568h@2x.png(13KB)
--------OrientationTest-Info.plist(1KB)
--------OrientationTest-Prefix.pch(333B)
--------._main.m(4KB)
--------._MyNavigationController.m(4KB)
--------._.DS_Store(4KB)
--------MyNavigationController.m(1KB)
--------._OrientationTest-Prefix.pch(4KB)
--------._AppDelegate.h(4KB)
--------._ViewController.m(4KB)
--------._MyNavigationController.h(4KB)
--------ViewController.h(220B)
--------AppDelegate.h(369B)
--------Test@2x.png(12KB)
--------._AppDelegate.m(4KB)
--------AppDelegate.m(3KB)
----.git()
--------logs()
--------info()
--------index(2KB)
--------COMMIT_EDITMSG(15B)
--------objects()
--------HEAD(23B)
--------config(111B)
--------refs()
--------branches()
--------hooks()
--------description(73B)
----OrientationTest.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(13KB)

网友评论

  • 可以,按照介绍可以上传应用了,并通过了审核
  • 一般,仅仅是说明支持iphone5启动画面。。
  • 刚接触ios6,确实挺不错
  • 正好在升级ios6,谢谢楼主分享了,确实不错