ios - tabbar memory management -
ios - tabbar memory management -
a tab bar based app 5 tabs switching option...how suppose manage memory efficiently?
switching between tab frequent how manage scenario?
or
all tab remain active no matter what? thats bad option...
please describe in detail regarding tab bar memory management
let uikit handle it. shouldn't worry. uikit unload views sees fit (and told in viewdidunload
of view controllers).
so instance:
you start on tab 1. tab 1 view controller view loaded.
you tap on tab 2. tab 2's view controller loaded , tab 1's view controller still around.
more time goes on, tap on other tabs loads other view controllers.
uikit notices memory running bit low or wants bit of tidy (you have no command on this). go , unload of view controllers' views (but never 1 you're viewing).
you should of course of study citizen , release hold onto in view controller in viewdidunload
can create 1 time again when view wants loaded again.
ios
Comments
Post a Comment