I'm trying to make a custom back button to pop back to parent in nav controller. I understand I should've made the back button in parent controller itself
self.navigationItem.backBarButtonItem= backBarButton
The button was just default button with custom text, but it worked. None of formatting or fonts showed up. So instead I made a custom leftBarButton in child VC:
UIButton *backBtn= [[UIButton alloc] init]; backBtn.backgroundColor = [UIColor clearColor]; backBtn.titleLabel.font = [UIFont fontWithName:@"CrimeFighter BB" size:20]; backBtn.titleLabel.textColor = [UIColor whiteColor]; backBtn.titleLabel.text = @"back"; [backBtn addTarget:self action:@selector(pop) forControlEvents:UIControlEventTouchUpInside]; UIBarButtonItem *backBarButton = [[UIBarButtonItem alloc] initWithCustomView:backBtn]; self.navigationItem.leftBarButtonItem = backBarButton; Its working fine, but the button is not visible at all!