How to display free iPhone memory? and how to free up iPhone memory?

How to display free iPhone memory in UILabel?

and I would like to ask how to free up memory using the iPhone SDK?

FYI, I am using the iPhone SDK 3.1.2 with xcode 3.2.1 (Mac OS X Snow Leopard).

+3
source share
3 answers

There is no direct access to this information in the SDK, and applications are not allowed to mess with the OS as you suggest. You are in your little box; Apple expects you to stay there. When you ask questions that include a “system,” you are probably outside of your box.

, , . , -didReceiveMemoryWarning. . , . , , . -didReceiveMemoryWarning , , .

- - . , ( ), .

SBSettings SDK.

+5

iPhone mach api. . : iPhone OS

+2

You can free memory by invoking a release on the objects that you allocated after you finish with them. See http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html

0
source

Source: https://habr.com/ru/post/1720033/


All Articles