Last Updated: February 25, 2016
·
419
· novalagung

iOS - Customizing back button of Navigation Controller

to customize back button of navigation controller, you need to add the code below in view controller before the back button placed.

self.navigationItem.backBarButtonItem =
[[UIBarButtonItem alloc] initWithTitle:@"Back" style:self.navigationItem.backBarButtonItem.style target:nil action:nil];