0

Does the iOS version string follow a documented format? I want to parse the sdk version strings and sort them in ascending order. Does the Apple documentation say anything about this?

341008
  • 9,862
  • 11
  • 52
  • 84

1 Answers1

1

From UIDevice

@property(nonatomic,readonly,retain) NSString *systemVersion

An example of the system version is @”1.2”.

@propertyic,readonly,retain) NSString *systemName
@propertyic,readonly,retain) NSString *model

Possible examples of model strings are @”iPhone” and @”iPod touch”.

Blog post to access the UIDevice property

Jhaliya - Praveen Sharma
  • 31,697
  • 9
  • 72
  • 76