I dropped in a UINavigationBar in UIInterfaceBuilder. I present this view modally and just want a UIBackBarButton to return to my last
UINavigationBar
UIInterfaceBuilder
UIBackBarButton
You may use this setters without creation new UIBarButtonItem:
[self.navigationItem.leftBarButtonItem setAction:@selector(doBackButton:)]; [self.navigationItem.leftBarButtonItem setTarget:self];