iOS11 UIBarButtonItem action not get called

前端 未结 6 1323
花落未央
花落未央 2021-01-12 11:06

I used Xcode9 Beta6 to build the project, the action was called correctly on iOS10 device, however it is not work on iOS11 device.

In My project, there are some view

6条回答
  •  忘掉有多难
    2021-01-12 11:36

    I solved this problem by removing a current gesture recognizer from my view and adding a new one. Than I opened the connections inspector of my view and add gestureRecognizer connection to my gesture recognizer.

提交回复
热议问题