开发者

How can I identify the particular iOS device is an iPhone 3G or an iPhone 4?

开发者 https://www.devze.com 2023-02-12 05:23 出处:网络
How can I identify if the iOS device my开发者_如何转开发 app runs on is an iPhone 3G of an iPhone 4?

How can I identify if the iOS device my开发者_如何转开发 app runs on is an iPhone 3G of an iPhone 4?

Thanks in advance.


Check out uidevice-extension by Erica Sadon.

You can use the following:

[[UIDevice currentDevice] platformType];
[[UIDevice currentDevice] platformString];
0

精彩评论

暂无评论...
验证码 换一张
取 消