Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // When the view appears, update the title and table contents.
- - (void)viewWillAppear:(BOOL)animated {
- self.title = @"Info";
- self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Orange" style:UIBarButtonItemStylePlain target:self action:@selector(back:)];
- }
- - (void) back: (id) sender {
- [[self navigationController] popToRootViewControllerAnimated:TRUE];
- }
Add Comment
Please, Sign In to add comment