I have a app where people can delete stuff. I am wanting to disable all my buttons so the user has to wait till the action is done.
I have the setHidesBackButton working, but it looks tacky. I would rather have it just become inactive where if the user taps it, they can’t go anywhere.
I have looked into a few things, and wonder what’s the best option! (like to replace it with another button).
Please post some code with your answer 🙂
Thanks in advance,
Coulton
One approach is to put a modal view with user interaction disabled over the whole screen. The view can use transparency to ‘dim’ the screen and you could add a UIActivityView to this view so the user knows they need to wait for a moment.
If you just want to make the buttons inactive, I’ve done this before with a transparent view, again set to have user interaction disabled, positioned over the navigation bar.