I want to have a section in my app that shows the device type so I can make it noticeable to show that the device is supported. How do I get this? I tried
UIDevice.currentDevice().
and there was no platform type.
I want to have a section in my app that shows the device type so I can make it noticeable to show that the device is supported. How do I get this? I tried
UIDevice.currentDevice().
and there was no platform type.
Why cant you use:
UIDevice.current.systemName
That worked for me.
You should check this Question here.
I didn't get why you want to show the user if the device is supported. The user shoudn't be able to download your app if the device is not compatible, and you can limit what device can download your app by doing this.
This link can also help you decide what UIRequiredDeviceCapabilities key you should use