- Upgrade Pod

- Add osVersion
This commit is contained in:
giuseppenuc committed 2016-09-12 13:08:33 +02:00
1 parent a05a641285
commit 9276be2b25
38 files changed
+7118 -2073

No files matched your search

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