读书人

iPad iPhone程序增多和删除启动画面

发布时间: 2012-06-29 15:48:46 作者: rapoo

iPad iPhone程序增加和删除启动画面

直接拖放到程序目录下面就可以了。

?

Default.png ? ? ? ? ? ?iPhone默认启动图片, ? ? 320x480或者320x460

Default@2x.png ? ? iPhone4启动图片 ? ? ?640x960或者640x920

?

为iPad和iPhone程序增加启动画面非常简单,基本思路就是增加启动图片资源Default.png即可,只是要根据不同的分辨率和旋转方向需要有不同的图片尺寸。

目前的iOS设备有三种不同的分辨率:

来源:http://www.opensoce.com/?p=1311

?

想要取消的话,直接删除default图片,之后

?

“Command-Option-Shift-K to clean out the build folder. Even better, quit Xcode and clean out~/Library/Developer/Xcode/DerivedData?manually. Remove?all?its contents because there's a bug where Xcode will run an old version of your project that's in there somewhere. (Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the Projects tab. Click the right-arrow to the right of the Derived Data folder name.)

?

In the simulator, choose iOS Simulator > Reset Content and Settings.

Finally, for completeness, you can delete the contents of /var/folders; some caching happens there too.”

?

?

读书人网 >Iphone

热点推荐