iOS Question If the iPod was

Discussion in 'iOS Questions' started by Ramezanpour, Apr 27, 2015.

  1. Ramezanpour

    Ramezanpour Active Member Licensed User

    Hi,

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

    How can we know if device is iPod ?
     
  2. JanPRO

    JanPRO Well-Known Member Licensed User

    Hi,

    Use
    Code:
    Dim device As NativeObject
    device = device.Initialize(
    "UIDevice").RunMethod("currentDevice"Null)
    Dim DeviceModel as String = device.GetField("model").AsString
     
    Ramezanpour likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice