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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -