ios - Managing multiple ViewConrollers -
i having view next buttons ( example) "new game" , "share friends" , want if user clicks on "new game" running "newgameviewcontroller",and when clicks "share" shareviewcontroller running. 've read docs on developer.apple (tabbar , navbar) didn't find solution
newgameviewcontroller *ngvc = [[newgameviewcontroller alloc] initwithnibname:@"somenib" bundle:nil]; [self.navigationcontroller pushviewcontroller:ngvc animated:yes];
same thing in principle other one.
Comments
Post a Comment