Swift 5:
ProcessInfo.processInfo.physicalMemory
GBでの取得の場合
ProcessInfo.processInfo.physicalMemory / (1024 * 1024 * 1024)
参考にした記事
https://stackoverflow.com/questions/20211650/total-ram-size-of-an-ios-device
Go to list of users who liked
More than 3 years have passed since last update.
Swift 5:
ProcessInfo.processInfo.physicalMemory
GBでの取得の場合
ProcessInfo.processInfo.physicalMemory / (1024 * 1024 * 1024)
参考にした記事
https://stackoverflow.com/questions/20211650/total-ram-size-of-an-ios-device
Register as a new user and use Qiita more conveniently
Go to list of users who liked