I want to hide a UINavigationBar that is not inside of a UINavigationController (it’s a modal view) when a button is pressed.
How can I do this? I’d like it to be animated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want it to be animated you can just set its alpha down to 0.0
then back to 1.0 to unhide it
Although in iOS 4+, the use of the block animation methods is encouraged
which you can use like this: