문제

How do I detect the version of iOS using Telerik AppBuilder (Cordova.js)? That would be great if the same method was used for finding the version for any mobile platform, but I need it specifically for iOS.

Please let me know if there is any other information I need to provide.

Thank you in advance.


Additional answer

Here is the information found in the mobileOS object:

enter image description here

도움이 되었습니까?

해결책

Look at the mobileOS object. It is filled is all kinds of good info about the device that is running the app.

// isiPad: Must be mobile OS AND ipad
var isiPad = kendo.support.mobileOS && kendo.support.mobileOS.device == 'ipad';
if (isiPad) {
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top