I try to use following code to get my device information:
UIDevice.currentDevice().systemVersion
But I got an error as bellow shown:
Use of unresolved identifier UIDevice
add the UIKit import
import UIKit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With