开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜