ios - How to use custom back button to return to main view controller -


i trying programmatically custom button return main view controller (ie. 'view controller home1' 'main view controller') - check link http://postimg.org/image/cnoq0hsct/

connect ibaction , use code:

- (ibaction)youraction:(id)sender {         [self dismissviewcontrolleranimated:yes completion:nil]; } 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

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