简体   繁体   English

获取连接到PC的ios设备的os版本

[英]get the os version of the ios device connected to the PC

The application is developed in java.We need to detect the OS version of the connected IOS Device to the windows or Mac Machine. 该应用程序是用Java开发的。我们需要检测与Windows或Mac Machine连接的IOS设备的OS版本。 Since the code is in java, we cant use UIDevice Class. 由于代码在Java中,因此我们无法使用UIDevice类。 Is there any way we can detect the OS Version of the connected IOS Device. 有什么方法可以检测到所连接的IOS设备的操作系统版本。

You can get current version of ios as following code 您可以通过以下代码获取当前版本的ios

NSString *ver = [[UIDevice currentDevice] systemVersion];
int ver_int = [ver intValue];
float ver_float = [ver floatValue];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 检测到连接到PC的Android设备 - Detected android device connected to PC 获取用户设备操作系统版本和 android 的 ip 地址的方法是什么? - Is the way to get users device OS version and ip address for android? android os从版本9升级到10后无法获取设备ID - Cannot get device id after upgrade android os from version 9 to 10 以编程方式在Android中获取设备操作系统版本 - Getting device os version in Android programmatically 如何在 Harmony Os 中检查设备是否已连接到互联网和连接类型 - How to check if the device is connected to internet and Connection type in Harmony Os Java-获取已连接的android设备的屏幕截图 - Java - Get a screenshot of connected android device 获取已连接网络设备的唯一 ID - Get an unique id for a connected network device 设备连接到PC时的线程行为与未连接时的线程行为不同-Android - Thread behaviour different when device is connected to pc as compare to when its not - Android 如何找到通过USB连接到android设备的台式机的IP地址 - How to find IP address of desktop pc which is connected to android device through USB 获取请求在 android 设备上不起作用,但它在我的电脑上运行 - get request is not working on android device however it's working on my pc
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM