Adding left button to UINavigationBar


/ Published in: iPhone
Save to your folder(s)



Copy this code and paste it in your HTML
  1. self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(cancelEdit:)] autorelease];

URL: http://stackoverflow.com/questions/565989/adding-left-button-to-uinavigationbar-iphone

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.