标签: swift xcode6
快速旋转UIImage时如何禁用捏合和平移手势
答案 0 :(得分:3)
用于uiView中的单个手势
yourgesture.isEnabled = false
用于uiView中的多个手势
for l in 0..<view.gestureRecognizers.count { view.gestureRecognizers![l].isEnabled = false }