You’ve likely seen the many “System Info” apps out there which display things like remaining battery life, and even system info like memory, etc.
In a similar manner, is there any way to retrieve the current amount of available RAM from my app so that I can make better decisions on when it’s best to dump or keep certain views to avoid memory warnings?
Please note that this call does not account for memory that is being used by the gpu. If you are seeing a size that is smaller than expected system ram. It is more than likely allocated graphics memory.