There is currently no iOS system component that works like a reveal view. I am talking about that sort of left sliding drawer implementation you see in the Facebook app.
I use a third party library called SWRevealViewController. Its a great peice of code by a developer named John Lluch. However there is one annoying problem with the code and every designer I work with insists I have.
When we slide the drawer to reveal the rearview, the front view is partially visible on the right side. If the user taps on a UIControl item, like a UIButton, on this partially visible view, the action is performed while still in the partially visible state. This can be annoying and creates a undesired use case.
The way I tackle this is to show an overlay view on top of the partially visible front view. This overlay firstly acts as an indicator that this view is currently inactive. Secondly it captures any touch on this view to toggle the front view back!
Instead of having to write this implementation in every project, I have forked SWRevealViewController and handled it in that code instead. All I have to set now is a boolean called ‘shouldUseFrontViewOverlay’ to YES.
If you find this idea useful, go ahead and use my fork at GitHub.