On this page
platform.IOSVersionInfo
Prev: platform.ios_ver | Up: platform | Next: platform.java_ver
Rel: platform.android_ver, platform.AndroidVer, platform.architecture, platform.freedesktop_os_release
Ref: docs.python.org โ platform.IOSVersionInfo
Tags: #public #python3 #stdlib #platform
Import
import platform
from platform import IOSVersionInfo
Signature & Overview
platform.IOSVersionInfo(system, release, model, is_simulator)
IOSVersionInfo(system, release, model, is_simulator)
Methods & Attributes
IOSVersionInfo.count(self, value, /)โ Return number of occurrences of value.IOSVersionInfo.index(self, value, start=0, stop=9223372036854775807, /)โ Return first index of value.
Usage
import platform
# Python 3.13+: named tuple returned by platform.ios_ver()
assert hasattr(platform, "IOSVersionInfo") or True
Gotchas
- Requires Python 3.13+.
REPL Inspect
from platform import IOSVersionInfo
help(IOSVersionInfo)
Linked from
Related notes
- tuts/python3/stdlib_module/platform/ios_ver Linked here; links to this page; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/java_ver Linked here; links to this page; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/android_ver Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/AndroidVer Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/architecture Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/freedesktop_os_release Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/platform Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/platform/invalidate_caches shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/libc_ver shared tags: #platform, #stdlib