LoginSignup
0
1

More than 1 year has passed since last update.

iOSデバイスでのRAMサイズの取得

Last updated at Posted at 2021-06-24

Swift 5:

ProcessInfo.processInfo.physicalMemory

GBでの取得の場合

ProcessInfo.processInfo.physicalMemory / (1024 * 1024 * 1024)

参考にした記事
https://stackoverflow.com/questions/20211650/total-ram-size-of-an-ios-device

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