IosDeviceInfo
Inherits: DeviceInfo
Properties
-
available_ram_size(int) –Current unallocated RAM size of the device in megabytes.
-
free_disk_size(int) –Free disk size in bytes.
-
identifier_for_vendor(str | None) –Unique UUID value identifying the current device.
-
is_ios_app_on_mac(bool) –Indicates whether the process is an iPhone or iPad app running on a Mac.
-
is_physical_device(bool) –Falseif the application is running in a simulator,Trueotherwise. -
localized_model(str) –Localized name of the device model.
-
model(str) –Device model according to OS.
-
model_name(str) –Commercial or user-known model name.
-
name(str) –The device name.
-
physical_ram_size(int) –Total physical RAM size of the device in megabytes.
-
system_name(str) –The name of the current operating system.
-
system_version(str) –The current operating system version.
-
total_disk_size(int) –Total disk size in bytes.
-
utsname(IosUtsname) –Operating system information derived from
sys/utsname.h.
Properties#
available_ram_size
instance-attribute
#
available_ram_size: int
Current unallocated RAM size of the device in megabytes.
identifier_for_vendor
class-attribute
instance-attribute
#
identifier_for_vendor: str | None = None
Unique UUID value identifying the current device.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor
is_ios_app_on_mac
instance-attribute
#
is_ios_app_on_mac: bool
Indicates 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_device
instance-attribute
#
is_physical_device: bool
False if the application is running in a simulator, True otherwise.
localized_model
instance-attribute
#
localized_model: str
Localized name of the device model.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620029-localizedmodel
model
instance-attribute
#
model: str
Device model according to OS.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620044-model
model_name
instance-attribute
#
model_name: str
Commercial or user-known model name.
For example: "iPhone 16 Pro", "iPad Pro 11-Inch 3"
name
instance-attribute
#
name: str
The device name.
Note
- 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_size
instance-attribute
#
physical_ram_size: int
Total physical RAM size of the device in megabytes.
system_name
instance-attribute
#
system_name: str
The name of the current operating system.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620054-systemname
system_version
instance-attribute
#
system_version: str
The current operating system version.
More info: https://developer.apple.com/documentation/uikit/uidevice/1620043-systemversion
utsname
instance-attribute
#
utsname: IosUtsname
Operating system information derived from sys/utsname.h.