One Logo Pool Ball
MetricKit · IOS API REFERENCE

OSVersion

struct · iOS 27.0+ · SDK 27.1

struct OSVersion

The version of the operating system on the device.

Members (3)

get · iOS 27.0+

buildNumber

TypeScript
get buildNumber(): string
Swift declaration
let buildNumber: String

The build number of the operating system (e.g., "23F75").

get · iOS 27.0+

number

TypeScript
get number(): string
Swift declaration
let number: String

The version number of the operating system (e.g., "26.5").

get · iOS 27.0+

platform

TypeScript
get platform(): string
Swift declaration
let platform: String

The name of the operating system platform (e.g., "iPhone OS").

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →