From Xcode 11 onwards, my whole App is getting stuck while I try to swipe the UISegmentedControl.

When I updated my Xcode to Xcode11, UISegmentedControl is not working properly. If I try to swpe to the next index of the UISegmentedControl, my whole App is getting stuck. Only this issue is happening on swipe. If I select an index it will work properly.

Please give more context.

- where is the UISegmentedControl ?

- directly in the view, in a subview like a scrollView ?



And show the code where you handle the swipe (if any).

What do you expect from the swipe gesture ?


Note: I tested a simple swipe gesture, it works in iOS 13.2 simulator.


Have you defined the actions with @objc keyword ?

From Xcode 11 onwards, my whole App is getting stuck while I try to swipe the UISegmentedControl.
 
 
Q