在目标操作案例中秘密调用PerformSelector?

时间:2018-02-27 10:43:19

标签: ios cocoa-touch uigesturerecognizer

在这个例子中,我传递给选择器的函数是通过秘密调用performSelector来调用的吗?

let gestureRecognizer = UIPanGestureRecognizer(target: self, action: #selector(actionGesture(gesture: )))
    self.view.addGestureRecognizer(gestureRecognizer)
}

@objc func actionGesture(gesture: UIPanGestureRecognizer){
....
}

0 个答案:

没有答案