I have a settings screen that contains my own custom font menu. Some of these fonts in this list only exist in iOS 4.X and cause problems if selected in iOS 3. How can I use different plists based on which version of iOS is 开发者_JAVA技巧installed?
Thanks for your help.
Andrew
Use the UIDevice class to get the model name , version number of your device.
NSString* deviceName = [[UIDevice currentDevice] model];
NSString* deviceVersion = [[UIDevice currentDevice] systemVersion];
Based on the value of above variable , you could use the different set of plist.
精彩评论