iTofu / LCNewFeature

几行代码快速集成新特性界面!

Home Page:https://LeoDev.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

适配iPad

Humein opened this issue · comments

commented

如果我想适配iPad,我新特性图片的iPad图片怎么命名呀

commented

CGSizeEqualToSize(CGSizeMake(1125, 2001) 这个是哪个设备的分辨率呀

commented

#define IPAD ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? (CGSizeEqualToSize(CGSizeMake(2732, 2048), [[UIScreen mainScreen] currentMode].size) || CGSizeEqualToSize(CGSizeMake(1024, 768), [[UIScreen mainScreen] currentMode].size)) : NO)

我用这个判断 当前设备是否是iPad 好像不对,不会走这里

commented

有种放大模式,分辨率不同。
iPad 未适配,你可以读下源码拓展下!

commented

嗯 加上啦

commented

有时间的话可以 pull request 过来!

发自我的 iPhone

在 2016年6月29日,下午1:33,QinKingHan notifications@github.com 写道:

嗯 加上啦


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

commented

不会用 pull 呀 --

commented

额,尴尬了哈哈。没事后面我抽空自己加吧。

发自我的 iPhone

在 2016年6月29日,下午1:39,QinKingHan notifications@github.com 写道:

不会用 pull 呀 --


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

commented

嗯 谢谢啦0 0