Indicate the minimum memory requirement for the iPhone application

My application requires at least 40 MB of RAM, so before the iPhone (for example, 3G, the first versions of iPod touch) simply do not have (they have a maximum of 20 MB for my application). Is there any way to disable its installation on 3G devices? I know UIRequiredDeviceCapabilities, but it has no parameter for the minimum available memory.

+3
source share
1 answer

First, are you sure that your application actually uses 40 MB of RAM on older devices? I found (using the Memory Monitor tool) that the same application uses less RAM on my iPhone 3G than on my iPhone 4 or iPad. The last two devices have more pixels in their interfaces, so my application takes up more memory when working on them.

If so, find out if you can optimize memory usage to get it in a safe (<30 MB) range for older hardware. If you can do this, I think you will see improved performance in your application even on newer hardware.

, iOS, UIRequiredDeviceCapabilities armv7 opengles-2. (iPhone 3G S ) . , iPhone 3G S , , , , . , Apple .

+4

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


All Articles