Three20 URLNavigation: Disabling view persistence for some controllers
I generally like the View Persistor in the Three20 URLNavigation, however, I would like to exclude a f开发者_JS百科ew Controllers so they can't be the the first controller to show when the app loads. how can i do that?
In the viewController that should not be persisted, just overwrite persistView: and return NO. That should do the trick.
- (BOOL)persistView:(NSMutableDictionary*)state {
return NO;
}
see TTAlertViewController, TTActionSheetController
精彩评论