Is it possible to determine actual RAM size of an iOS device?
Referring to this question Determining the available amount of RAM on an iOS device we can determine the available free memory but how to get the actual total size.
The simplest solution to find total RAM in a device is to use
physicalMemory gives us the information at bytes, to calculate GB, divide by the constant
As documented here.