I have a toolbar on top of my view with a back button. I would like when the view loads to appear with the toolbar hidden and then, with a touch of the button to appear animated.
--Edit-- I am not using a Navigation Controller.
Hide or show the toolbar: Choose View > Hide Toolbar or View > Show Toolbar. While working in full screen for some apps, choose View > Always Show Toolbar in Full Screen.
System Preferences - General - uncheck "automatically hide and show the menu bar. Save this answer.
Before the view is shown:
[self.navigationController setToolbarHidden:YES];
When you press the button:
[self.navigationController setToolbarHidden:NO];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With