Swift

贴纸控件,Sticker,包含双指和单指(旋转、缩放、移动、删除

2018-08-13  本文已影响29人  AZander

贴纸小控件

    贴纸控件,Sticker,包含双指和单指(旋转、缩放、移动、删除、镜像功能)(美图秀秀类似)
- 判断相同手势是否可以同时响应

        func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {}


- 判断是否可以同时响应

        func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {}
上一篇下一篇

猜你喜欢

热点阅读