When I embed a custom UIControl inside a ViewController that's presented modally with the new iOS13 automatic style, touchesCancelled
is called whenever a pan gesture moves more than a few points.
The native UIKit
UISlider
doesn't do this. You can pan a UISlider within an automatic
style modal ViewController without issue.
UIScrollView has touchesShouldCancel(in view: UIView)
where you can force it to allow touches in specified views but I can't find anything in the docs for this new style of modal presentation.