Copy link to clipboard
Copied
we have an app the works fine on android devices but crashes in ios after reaching the memory cap. A little bit about the app: it has a preloader which loads bunch of other swfs included in the .ipa itself. Each swf has high quality images which are quite big. Editing the app at this stage is impossible as it would consume too much time so we are thinking about finding a fix from the memory side. The swf's have as3 in them so we are using loader context with domain specification to load them. They are working fine so far as far as ABC is concerned.
Is there a way to free up memory every time a new frame is loaded. I'm asking this because the whole app is just clicking buttons to load next frame or go back to previous frame. Any suggestion or help would be appreciated.
NOTE: I used xcode's instruments to check out the memory usage, it looked something like this: