直接拖放到程序目录下面就可以了。
Default.png iPhone默认启动图片, 320x480或者320x460
Default@2x.png iPhone4启动图片 640x960或者640x920
为iPad和iPhone程序增加启动画面非常简单,基本思路就是增加启动图片资源Default.png即可,只是要根据不同的分辨率和旋转方向需要有不同的图片尺寸。
目前的iOS设备有三种不同的分辨率:
如果一个程序,既要支持iPad又要支持iPhone,那么它需要包含下面几个图片:
1 |
Default-Portrait.png iPad专用竖向启动画面 768x1024或者768x1004 |
2 |
Default-Landscape.png iPad专用横向启动画面 1024x768或者1024x748 |
3 |
Default-PortraitUpsideDown.png iPad专用竖向启动画面(Home按钮在屏幕上面),可省略
768x1024或者768x1004
|
4 |
Default-LandscapeLeft.png iPad专用横向启动画面(可省略), 1024x768或者1024x748 |
5 |
Default-LandscapeRight.png iPad专用横向启动画面(可省略), 1024x768或者1024x748 |
6 |
Default.png iPhone默认启动图片,如果没有提供上面几个iPad专用启动图片,则在iPad上运
行时也使用Default.png(不推荐) 320x480或者320x460
|
7 |
Default@2x.png iPhone4启动图片640x960或者640x920 |
为了在iPad上使用上述的启动画面,你还需要在xxxx_info.plist中加入key(根据下拉菜单中的可选项选择):
1 |
UISupportedInterfaceOrientations |
2 |
或 Supported interface orientations
|
同时,为其加入值(根据下拉菜单中的可选项选择):
1 |
UIInterfaceOrientationPortrait 或 Portrait (bottom home button) |
2 |
UIInterfacOrientationPortraitUpsideDown 或 Portrait (top home button) |
3 |
UIInterfaceOrientationLandscapeLeft 或 Landscape (left home button) |
4 |
UIInterfaceOrientationLandscapeRight 或 Landscape (right home button) |
想要取消的话,直接删除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.”
分享到:
相关推荐
完全针对 iPad、iPhone 和 iPod touch 构建,使创建包含动画图表和过渡效果的世界一流水平演示文稿变得如此简单,只需触摸和轻按即可。使用全屏幕视图在 iPad、iPhone 或 iPod touch 上演示。或者使用视频镜像在 HDTV ...
iPad/iPhone 增加adMob移动广告Demo
支持ipad iphone 完美越狱
iphone和ipad适配
iPhoneFolder ipad iphone连接电脑查看文件
国外的免费软件,很容易实用。支持各种视频转IPAD和IPHONE格式,功能强大。
由浅入深地向读者介绍SDK和Object-C的基础知识,以及如何构建并测试简单的应用模型,并提供如何利用iPhone/iPad的相机、GPS和重力感应器进行工作的方法和技巧,最终介绍了如何优化、测试并发布已开发的应用程序。...
由浅入深地向读者介绍SDK和Object-C的基础知识,以及如何构建并测试简单的应用模型,并提供如何利用iPhone/iPad的相机、GPS和重力感应器进行工作的方法和技巧,最终介绍了如何优化、测试并发布已开发的应用程序。...
苹果已经为iPhone/IPad准备好了四个内置邮箱,分别是yahoo邮箱、Gmail邮箱、Mac邮箱和Aol邮箱。如果你经常使用这四个邮箱中的一个的话,那么设置参数时就非常的简单了,因为系统直接预设了对这些邮箱的支持,只...
完全针对 iPad、iPhone 和 iPod touch 构建,使创建包含动画图表和过渡效果的世界一流水平演示文稿变得如此简单,只需触摸和轻按即可。使用全屏幕视图在 iPad、iPhone 或 iPod touch 上演示。或者使用视频镜像在 HDTV ...
ITOOLS IPAD iphone 便捷工具
完全针对 iPad、iPhone 和 iPod touch 构建,使创建包含动画图表和过渡效果的世界一流水平演示文稿变得如此简单,只需触摸和轻按即可。使用全屏幕视图在 iPad、iPhone 或 iPod touch 上演示。或者使用视频镜像在 HDTV ...
iPhone应用程序编程指南-中文版 pdf iPhone应用程序编程指南-中文版 pdf iPhone应用程序编程指南-中文版 pdf
详细介绍iphone、ipad的发展历史,介绍他们的使用方法和破解方法,以及高级应用技巧
iOS开发一个项目既能在iphone上运行,也能再Ipad上运行
Ruby 脚本s9splashgen自动为 iPhone 和/或 iPad 应用程序(iOS 7 及更高版本)生成所有必要大小的启动画面。 它使用imagemagick和 gem rmagick 。 安装 安装imagemagick和rmagick通过 brew install imagemagick gem ...
苹果手机iphone5s iphone6 iphone67 IPAD23456 IPADmini1原厂图纸维修原理图PCB图合集: IPAD系列 IPAD系列3G4G版改WiFi版 iphone5s iphone6 东芝+闪迪_1.jpg 东芝硬盘容量排列.jpg 最好用的pdf阅读软件.exe 海力士...
学习Iphone 和 Ipad cocos2d 游戏开发
100套元件库超全 部件库 部件库 格式 功能表单 脚本扩展 界面控件 ...微信小程序元件库 Axure数据可视化图表组件库包含全国地图 ipad.rp iPhone手机模型元件 iphone元件库(全) WEB端原型通用元件库
A Learner’s Guide to Creating Objective-C Applications for the iPhone and iPad Book Description : Let’s say you have a killer app idea for iPhone and iPad. Where do you begin? Head First iPhone and...