Hide or disable the back button in the final application window based on the navigation controller

I am creating a navigation based application and I am wondering how to disable or hide the back batmata in my last view.

+6
source share
1 answer

Already answer you in the comment to the previous Question

- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view from its nib. self.navigationItem.hidesBackButton = YES; //Your other code } 
+10
source

Source: https://habr.com/ru/post/904464/


All Articles