how to reference the LaunchImage
来源:互联网 发布:淘宝 软件官网下载 编辑:程序博客网 时间:2024/06/15 07:23
LaunchImage-568h@2x.pngLaunchImage-700-568h@2x.pngLaunchImage-700-Landscape@2x~ipad.pngLaunchImage-700-Landscape~ipad.pngLaunchImage-700-Portrait@2x~ipad.pngLaunchImage-700-Portrait~ipad.pngLaunchImage-700@2x.pngLaunchImage-Landscape@2x~ipad.pngLaunchImage-Landscape~ipad.pngLaunchImage-Portrait@2x~ipad.pngLaunchImage-Portrait~ipad.pngLaunchImage.pngLaunchImage@2x.pngLaunchImage-800-667h@2x.png (iPhone 6)LaunchImage-800-Portrait-736h@3x.png (iPhone 6 Plus Portrait)LaunchImage-800-Landscape-736h@3x.png (iPhone 6 Plus Landscape)在app内,系统会自动生成如上图片,根据需求获取图片:
_imageview = [[UIImageView alloc] initWithFrame:self.view.bounds]; GBDeviceDetails *detail = [GBDeviceInfoIOS deviceDetails]; switch (detail.display) { case GBDeviceDisplayiPhone35Inch: _imageview.image = [UIImage imageNamed:@"LaunchImage"]; break; case GBDeviceDisplayiPhone4Inch: _imageview.image = [UIImage imageNamed:@"LaunchImage-568h"]; break; case GBDeviceDisplayiPhone47Inch: _imageview.image = [UIImage imageNamed:@"LaunchImage-800-667h"]; break; case GBDeviceDisplayiPhone55Inch: _imageview.image = [UIImage imageNamed:@"LaunchImage-800-Portrait-736h"]; break; default: _imageview.image = [UIImage imageNamed:@"LaunchImage"]; break; }
0 0
- how to reference the LaunchImage
- How to solve the "undefined reference to '__sync_sub_and_fetch_4'" compilation problem
- How to solve the "undefined reference to '__sync_sub_and_fetch_4'" compilation problem
- How to reduce the font size of bibliography/reference
- How to generate links to the android Classes' reference in javadoc?
- how to fix the assembly problem when project A call project B as reference
- Failed to write image data for the launch image set from "LaunchImage.launchimage/1242_2208.png" to
- ARC How the strong reference works
- how to deal with "undefined reference to XXX"
- How to be the rich?
- How to see the world?
- How to change the dbo
- How to install the wine
- How to execute the jar
- How to load the treeview
- How to use the CAknWaitDialog
- How to install the Siege
- How to configure the log4net
- observer模式的2个实现
- hdoj 1073 Online Judge(输入格式控制)
- 法国街头夜景
- IOS学习脑图
- Tomcat 部署多个项目出现错误
- how to reference the LaunchImage
- Nginx
- 各种正则
- window忘记密码
- POJ3342——Party at Hali-Bula
- Linux服务器nginx访问日志里出现大量400错误分析
- Oracle中生成GUID类型
- iOS UTF8码和中文转换
- 如何进入TOP IT公司