Why my UIScreen mainScreen bounds size return 480
来源:互联网 发布:优阅网络下载 编辑:程序博客网 时间:2024/05/17 01:01
Why my UIScreen mainScreen bounds size return 480 in ios6
8down vote
You have to add the iPhone 5 Launch image (Default-568h@2x.png) to your project.
The 568 point tall launch image tells iOS to launch your app in 4" mode. If you don't have this image, your app is treated as a 3.5" app. Even if it is 4" compatible.
1
+1000 for the answer.. I spent 4 hours but was unsuccessful.. changed Default.png to Default-568h@2x.png.. worked like a charm.. thanks a lot – Ali Mar 17 at 15:40
0 0
- Why my UIScreen mainScreen bounds size return 480
- #define screenWidth [UIScreen mainScreen].bounds.size.width
- [UIScreen mainScreen].bounds.size的一个坑!
- ScreenWidth [UIScreen mainScreen].bounds.size.width
- [UIScreen mainScreen].bounds.size和哪些因素有关?
- [UIScreen mainScreen].bounds.size获取设备长宽时的问题
- 获得当前屏幕宽和高 [UIScreen mainScreen].bounds.size
- [UIScreen MainScreen].bounds.size获取屏幕尺寸不准确
- [[UIScreen mainScreen] bounds] 和[UIScreen mainScreen] applicationFrame]
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- [[UIScreen mainScreen] bounds]和 applicationFrame
- android ScrollView与ListView,GridView滑动冲突
- Flight Boarding Optimization
- metasploit + dns_bruteforce
- Android用PopupWindow实现弹出菜单实例
- 小型磁盘 - 一个贫血的成功故事在音频历史
- Why my UIScreen mainScreen bounds size return 480
- 信息拥有一辆雪铁龙C6
- 学习新技术的10个建议
- Open VSwitch - SDN - Software Define Network
- 从svn下载web项目,一启动就报错
- 现在的我坐在角落满间寂寞
- 机器学习之svm(3)回归模型与神秘的核函数之间有什么联系吗?
- Spring » BeanUtils.java 源码
- plsql登录时弹出空白框