Reputation: 753
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.
Upvotes: 2
Views: 301
Reputation: 25697
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
Upvotes: 1