I have a Webview (inside the view) and a toolbar that is hiding the most.
This is a fairly common behavior for ipad logs: Clicking on a page will hide and display the toolbar, but the toolbar is hidden by default.
I'm using shouldRecognizeSimultaneousWithGestureRecognizer
Behavior right now does this:
- If the user deletes the page (web view), it switches the status of the toolbar using the gesture recognizer
- if the user deletes the page and there is an interactive element, such as a web link in UIWebview, he responds to this interactive link, but ALSO switches the toolbar.
Desired behavior:
- if the user deletes the page in a non-interactive area, it switches the state of the toolbar
- if the user deletes the page in the interactive area, it ONLY reacts to interaction with a web browser and does not switch the toolbar.
Note that here is almost the same question: Recognizing gestures using UIWebView
Even if it is marked as resolved, if you read it, you will see that the solution does not work for the poster, and it still gets a double answer when he (and I) wants to get an answer or answer. I tried to post the following question, but this was removed, probably because the moderator thought it was allowed.
source share