objective c - Go back from Xib to different ViewController in StoryBoard -
i've storyboard , xib in project. know how go xib storyboard, code:
chosenplacesviewcontroller *cpvc = [[chosenplacesviewcontroller alloc]initwithnibname:@"chosenplacesviewcontroller" bundle:nil]; [cpvc setmodaltransitionstyle:uimodaltransitionstylefliphorizontal]; [self presentmodalviewcontroller:cpvc animated:no];
but how go xib different viewcontroller in storyboard?
i know can use:
[self dismissviewcontrolleranimated:no completion:no];
but want go different viewcontroller(tabbar storyboard), not lastly one.
you should find out more navigation view controller. depends hierarchy of view controllers. there viewcontrollers property. can set new order of controllers, lastly 1 visible.
more info: http://developer.apple.com/library/ios/#documentation/uikit/reference/uinavigationcontroller_class/reference/reference.html
objective-c xib viewcontroller
No comments:
Post a Comment