Home Features Docs Blog Support GitHub

How to get iPhone device info from Java?


#1

I want to get information such as device name, type, OS version, app version, etc of an iPhone app, from Java.
How is this possible?


(Roland Vigh - Migeran) #2

Hi!

Device information available in the UIDevice class.

UIDevice device = UIDevice.currentDevice();

Best Regards,
Roland


#3

Thanks, but I don’t see how I can get the app version from UIDevice…
Also device model, like ‘iPhone 6 Plus’


(Eugene) #4

How about android.system.Os.uname() from MOE on iOS, or just java.lang.System.getProperties() - os.arch os.name os.version