ios Disable NavigationBar back button -


Is it possible to temporarily disable the navigation bar back button?

I see the Managing the Navigator ViewControllers and the right place to do this is in ViewDidAppear () On the other side, ViewDidAppear ( ) is too late because the screen is animated, then a user presses the back button before ViewDidAppear () and cries in the synchronization between the stack associated with the view controller's stack and the back button. Produces If the user is waiting a bit and ViewDidAppear () is called, everything works fine so I need to disable the temporary backbutt

thanks, donescamillo @ gmail.com

Recommended using a delay Comments work but it is not necessary That's a good thing. You really should not make artificial delays in your code. Different devices will display your viewpad method at different speeds and you have to set your delay to wait for a slow device, reducing the responsiveness of people on artificially faster devices. If you can explain what you are doing completely then maybe a more appropriate solution.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -