iOS 适配 ,关于prefix Header 文件的配置
2015-10-14 19:26
357 查看
关于prefix Header 文件的配置
command + n —- > PCH FIEL — >
#ifdef __OBJC__
#define OffWidth [UIScreen mainScreen].bounds.size.width / 375
#define OffHeight [UIScreen mainScreen].bounds.size.height / 667
#endif
command + n —- > PCH FIEL — >
#ifdef __OBJC__
#define OffWidth [UIScreen mainScreen].bounds.size.width / 375
#define OffHeight [UIScreen mainScreen].bounds.size.height / 667
#endif
相关文章推荐
- iOS开发之──传感器使用
- iOS开发之多媒体API(2)
- iOS开发之多媒体API(1)
- 使用Xcode和Instruments调试解决iOS内存泄露
- iOS开发之多媒体播放
- iOS开发 如何检查内存泄漏
- iOS开发之NewsstandKit.framework的使用
- 【iOS】Xib的使用与File'Owner总结
- 深入浅出-iOS程序性能优化
- iOS中几种数据持久化方案
- xcode6.3编译ios项目时报错Sysbol(s) not found for architecture
- iOS性能优化:Instruments使用实战
- 如何在iOS设备中进行缓存
- 推送跳转到指定页面
- IOS-15-IOS支付宝集成时解决的3个蛋疼的问题!(最蛋疼的一次,希望你们少受折磨)
- TableView 的reload 时页面出错 TableViewCell 的drawRect 问题
- iOS私人通讯录
- iOS的兼容模式
- iOS中protobuf 的安装和使用
- IOS 编辑框显示默认提示