xcode 5与ios 7的屏幕适配问题

#define DEVICE_IS_IPHONE5 ([[UIScreen mainScreen] bounds].size.height == 568)

float height = DEVICE_IS_IPHONE5?568:480;
if (height == 568) {
    // 4"

} else {

   // 3"

}


http://*.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution/16914009#16914009
 

xcode 5与ios 7的屏幕适配问题,布布扣,bubuko.com

xcode 5与ios 7的屏幕适配问题

上一篇:iOS: 获取文件路径


下一篇:那些年一起用过的iOS开发利器之CocoaPods