I have an entry in my app's Info.plist (a Dictionary), and I only want it to be used in iOS 6 and above. It involves font replacement, using FontReplacer, and I don't want to replace fonts for a device running iOS 5. You can see the example on GitHub for a better explanation.

Basically, is there a way for me to only use that Info.plist entry if the user's device is running iOS 6 or later?

Thanks.

没有正确的解决方案

其他提示

No.

There isn't a way to tell the system to only have a specific entry available if >iOS 6.

There is, however, a way to tell whether you're on an OS > 6 in code, though:

#ifdef IPHONE_6_0
    //...
#endif
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top