This commit is contained in:
giuseppenuc committed 2016-12-20 16:02:27 +01:00
1 parent 1bf4b9ef1d
commit 4e66c377fd
664 files changed
+14818 -10172

No files matched your search

@@ -116,4 +116,9 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
*/
- (UIDeviceModelInches) deviceInches;
/**
Returns the device OS Version in CGFloat
*/
- (CGFloat) osVersion;
@end
@@ -391,5 +391,9 @@
return UIDeviceModelInchesUnKnown;
}
- (CGFloat) osVersion {
return (CGFloat)[[[UIDevice currentDevice] systemVersion] floatValue];
}
@end