imageViewでタップ判定がしたくて
swift
1override func touchesBegan(touches: Set<UITouch>, with event: UIEvent) { 2 super.touchesBegan(touches, with:event) 3 print("123") 4 }
としたのですが、Method does not override any method from its superclassというエラーが出ます。
オーバーライドの仕方の何が間違っているのでしょうか?
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。