In the about
section of iOS it has a lot of information about the device.
Can I and Am I allowed to access this information?
I want to fetch data of settings -> General -> About
in swift. Is it feasible to get the same in iOS ?
In the about
section of iOS it has a lot of information about the device.
Can I and Am I allowed to access this information?
I want to fetch data of settings -> General -> About
in swift. Is it feasible to get the same in iOS ?
You can get the trivial ones, but interesting ones like serial number and IMEI are restricted to system apps only.
UIDevice.current.name
[1]MPMediaQuery
, ALAssetsLibrary
or PHPhotoLibrary
; see [3] and related linksNSFileManager
[5]UIDevice.current.systemVersion
CTTelephonyNetworkInfo.subscriberCellularProvider.carrierName
[6]Explore UIDevice
class you will get some information programmatically:
UIDevice.currentDevice()