ipad - AIR for iOS app crashes on launch - only on i Pad1 -
been working on ipad book app in flashbuilder 4.6. on there performance issues ipad1/3 until learning gpu rendermode , setting stagequality low. these helped immensely.
however, app starting crashing on startup - on ipad1. example page 1 of app had worked weeks ago crash. after more research, seemed static references page classes put in viewcontroller issue. seemed overwhelming memory. when put static reference page1 in vc worked. , in page 1 static references page 2 or 3. or whatever pages might link to. now, after reworking 70 other pages static reference pages need, crashing again.
my question this, if have page 1 static reference page 2 , 3. , each of have references...all down line page 70, in essence getting loaded memory @ startup?
the bigger question how best manage memory of air app have ~ 120+ "pages" or views in mvc parlance? ideally, want dynamically created view in memory don't think it's working.
i've read other posts here , thinking loading/unloading swfs have references needed classes via applicationdomain.
one interesting thing noticed this. when launching app in debugger, traces out terminated , app quits. however, when double clicking ipad home button, shows app still running. not sure why is?
pardon lengthy description.
any , appreciated.
thanks, mtg
Comments
Post a Comment