Reputation: 43
Note: I don't want APP Build.
print(UIDevice.current.systemVersion) //OUTPUT "11.3"
How can I get the Build String "15E216" ?
Upvotes: 2
Views: 157
Reputation: 15238
You can get the full string
having version
and build
with this line,
print(ProcessInfo.init().operatingSystemVersionString)
You should get the result in below format,
Version 11.3 (Build 15E216)
Upvotes: 2