Hamdi-Lachaal
Hamdi-Lachaal

Reputation: 151

Hide or disable back button in final view of navigation controller based app

I'm creating a navigation-based app, and I'm wondering how to disable or hide the back buttom in my last view.

Upvotes: 6

Views: 4862

Answers (1)

Ecarrion
Ecarrion

Reputation: 4950

Already answer you in the comment of your previous Question

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.

    self.navigationItem.hidesBackButton = YES;

    //Your other code


}

Upvotes: 10

Related Questions