Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 436
Hamdi-Lachaal Avatar asked Dec 25 '11 21:12

Hamdi-Lachaal


1 Answers

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


}
like image 112
Ecarrion Avatar answered Nov 20 '22 12:11

Ecarrion