IosDeviceInfo
Device information snapshot for iOS/iPadOS runtimes.
Returned by flet.Page.get_device_info on iOS.
Inherits: DeviceInfo
Properties
available_ram_size- Current unallocated RAM size of the device in megabytes.free_disk_size- Free disk size in bytes.identifier_for_vendor- Unique UUID value identifying the current device.is_ios_app_on_mac- Indicates whether the process is an iPhone or iPad app running on a Mac.is_physical_device-Falseif the application is running in a simulator,Trueotherwise.localized_model- Localized name of the device model.model- Device model according to OS.model_name- Commercial or user-known model name.name- The device name.physical_ram_size- Total physical RAM size of the device in megabytes.system_name- The name of the current operating system.system_version- The current operating system version.total_disk_size- Total disk size in bytes.utsname- Operating system information derived fromsys/utsname.h.
Properties
available_ram_sizeinstance-attribute
available_ram_size: intCurrent unallocated RAM size of the device in megabytes.
identifier_for_vendorclass-attributeinstance-attribute
identifier_for_vendor: Optional[str] = NoneUnique UUID value identifying the current device.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor
is_ios_app_on_macinstance-attribute
is_ios_app_on_mac: boolIndicates whether the process is an iPhone or iPad app running on a Mac.
More info: https://developer.apple.com/documentation/foundation/nsprocessinfo/3608556-iosapponmac
is_physical_deviceinstance-attribute
is_physical_device: boolFalse if the application is running in a simulator, True otherwise.
localized_modelinstance-attribute
localized_model: strLocalized name of the device model.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620029-localizedmodel
modelinstance-attribute
model: strDevice model according to OS.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620044-model
model_nameinstance-attribute
model_name: strCommercial or user-known model name.
For example: "iPhone 16 Pro", "iPad Pro 11-Inch 3"
nameinstance-attribute
name: strThe device name.
- On iOS < 16 returns user-assigned device name.
- On iOS >= 16 returns a generic device name if project has no entitlement to get user-assigned device name.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620015-name
physical_ram_sizeinstance-attribute
physical_ram_size: intTotal physical RAM size of the device in megabytes.
system_nameinstance-attribute
system_name: strThe name of the current operating system.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620054-systemname
system_versioninstance-attribute
system_version: strThe current operating system version.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620043-systemversion
utsnameinstance-attribute
utsname: IosUtsnameOperating system information derived from sys/utsname.h.