UIView: Inheritance Touch

Example 1: When you call up the 3D Touch icon on the application, you can make a choice without lifting your finger up.

Example 2 A long press on a key on the keyboard allows you to drag to different options without lifting your finger up.

enter image description here enter image description here

If the application icon is the first view, and the pop-up window is the second, how can I move the touch down from the first to the second?

+4
source share
1 answer

, . isMultipleTouchEnabled true, , . UIControl, touchDragExit, touchUpOutside touchDragOutside .. .

+1

Source: https://habr.com/ru/post/1693854/


All Articles