Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法检索用户在使用我的应用程序时使用的 iOS 版本?我正在使用钛,想知道是否有任何方法可以说明这一点。
谢谢
文档是你的朋友 -> Ti.Platform.version
Ti.Platform.version将返回完整版本。Ti.Platform.name会告诉你它是否是 iOS(iPhone OS在这种情况下,Titanium 返回“”。
Ti.Platform.version
Ti.Platform.name
iPhone OS