Question

I change [self.navigationController setNavigationBarHidden:NO/YES animated:YES]; during my app life. Problem is then it begin hidden/unhidden - it resized view and tableView. How can I disable resizing?

Was it helpful?

Solution

Disabling or editing the AUTOLAYOUT in your Nib/Xib

1. Open your interface 2. Click on the first tab on the inspector on the right; 3. Disable the auto layout.

OR if you need auto layout:

Cancel or edit the constraint that resize your tableview.

I sugget to disable the auto layout in that screen if you don't know how it work and you don't need it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top