我試着按照本文對具有同步平移和縮放手勢識別,但即時通訊不確定的時候我會調用這個方法:實施委託
#pragma mark - UIGestureRecognizerDelegate
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
目前,我有一個平移和縮放手勢識別,所以我可以使用他正在解釋的方法。我也添加了布爾方法,但我究竟在哪裏調用它?
的文章:[1]:http://www.mindtreatstudios.com/our-projects/ios-gesture-recognizer-tips-tricks/