开发者

My app requires 256 MB of RAM. I need to set up this value in plist.(for app store distribution). How can I do this?

My app requires 256 MB of RAM. I need to set up this value in plist.(for app store distribution).

frankly speaking, my app assumed 130МВ . I need to support 3gs, 4g, ipad开发者_如何学Go , and ipod touch with 256 mb. How can I do this?

My app requires 256 MB of RAM. I need to set up this value in plist.(for app store distribution). How can I do this?


As others have said, that's a lot of memory and maybe a better strategy would be to work with less -- there is no guarantee that your app will work fine on a 3GS with iOS 5 for example.

But to directly answer the question: there is no way to directly require a device with a specific amount of memory, but there are a few flags that should mostly do the trick.

For example, you could require arm7 or opengles-2 in the UIRequiredDeviceCapabilities property of your Info.plist. I think that would limit you to 3GS and above.


You don't.

Your app won't get 256MB of RAM, it will get killed once you start using between 20 -> 30MB. You will receive memory warnings early on and if you choose not to respond by freeing memory, your appplication is at risk of immediate termination.

EDIT:

From what you are describing, you probably want to look at image tiling techniques.


  1. iPhone 1: 128MB
  2. iPhone 3G: 128MB
  3. iPhone 3GS: 256MB
  4. iPhone 4: 512MB

Guess 256MB is a "little" too big for an iPhone app...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜