motion/core/ios/device.rb in bubble-wrap-1.7.1 vs motion/core/ios/device.rb in bubble-wrap-1.8.0

- old
+ new

@@ -49,16 +49,22 @@ # @return [String] the IOS SDK version currently running def ios_version UIDevice.currentDevice.systemVersion end + # Returns an identifier unique to the vendor across the vendors app. + # @return [NSUUID] + def vendor_identifier + UIDevice.currentDevice.identifierForVendor + end + # Delegates to BubbleWrap::Screen.orientation def orientation screen.orientation end # Delegates to BubbleWrap::Screen.interface_orientation def interface_orientation screen.interface_orientation end end -end \ No newline at end of file +end