【发布时间】:2023-03-06 20:39:02
【问题描述】:
除非您导入UIGestureRecognizerSubclass.h as indicated here,否则您不能在子类中写入self.state。
在 Swift 环境中,我很困惑如何导入它。我试过import UIGestureRecognizerSubclass.h,没有.h,但我仍然无法写信给self.state。
我将如何做到这一点?
【问题讨论】:
标签: ios uigesturerecognizer swift ios8 xcode6