Sohaib Sohaib - 1 year ago 143
Objective-C Question

Total RAM size of an iOS device

Is it possible to determine actual RAM size of an iOS device?

Referring to this question Knowing "available RAM" on an iOS device we can determine the available free memory but how to get the actual total size.

Answer Source

The simplest solution to find total RAM in a device is to use NSProcessInfo:

Objective C:

[NSProcessInfo processInfo].physicalMemory



As documented here.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download