iphone - Parent ViewController deallocated upon memory warning -
i have mainviewcontroller, new videopageviewcontroller presented modally. in viewpageviewcontroller, load web page , launch video, heavy operation , causes memory warning. when ready return mainviewcontroller dismissmodalviewcontroller, says mainviewcontroller deallocated! app crashes.
this happens sometimes, not always.
is there exception handling can take on it? can recreate parent view controller? help!
thanks
if memory low, system send memory warnings view controllers. view controller view not on screen react on memory warning unloading view (which cause reloading of view when comes on screen again,).
found info here
Comments
Post a Comment