iOS Question If the iPod was

Ramezanpour

Active Member
Licensed User
Longtime User
Hi,

With
B4X:
App.iPadDevice
We can get true if device is iPad .

How can we know if device is iPod ?
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,

Use
B4X:
Dim device As NativeObject
device = device.Initialize("UIDevice").RunMethod("currentDevice", Null)
Dim DeviceModel as String = device.GetField("model").AsString
 
Upvote 0
Top