My company has an app that's been around for years. Now, under iOS 13, some buttons on a particular View are not receiving touch events.
If I use a Symbolic Breakpoint for [UIWindow sendEvent] and then do a debugger command of po $arg3, it shows that a UIImageView a couple of views behind the buttons is receiving the touch event. There is no gesture recognizer on the UIImageView. There is a TapGestureRecognizer on the base view in a different view controller. That gesture recognizer has cancelsTouchesInView = NO.
Has anyone ran into this?
Found the problem. The selectedRateView had a height constraint of 0 with a priority of 1000. This caused the view to have a height of 0 even though the code was trying to set it's frame. For some reason, the child controls were still visible; but not receiving events.
For some reason, this wasn't being enforced on older versions of iOS. The selectedRateView was the height specified when setting the frame in code and it's children were receiving touch events.
(I inherited this code)