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 -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -