0
1

More than 1 year has passed since last update.

【Swift】iOSバージョンを取得する方法

Posted at

はじめに

ユーザーエージェントを偽造する際にユーザーの端末のiOSバージョンの情報を使ったので取得方法を備忘録として載せておきます。

方法

let iosVersion = UIDevice.current.systemVersion

print(iosVersion)

おわり

意外と使わない機能なので全然知りませんでした笑

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1