Here is my page structure. Tap Gesture recognizer is attached to ContainerView. Done button has its own click handler.
Container View is fullscreen. Toolbar takes small space over Container View.
With Xcode 8 everything works fine. With Xcode 9, when I click on Done, it calls TapGesture's event instead. Changing cancelsTouchesInView
of tapGesture doesn't matter. I would expect to have fired both handlers with cancelsTouchesInView
to NO
, but it just calls just TapGesture's handler. Even despite of the fact that the button looks like it is clicked.
The only way I can make that works is to disable/remove tap gesture.
Is that Apple's issue or there are some changes in Xcode 9 that I don't know about?