Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は過去にこれを使用しました。
override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) { self.view.endEditing(true) }
しかし、Xcode 8 ベータ版では、次のエラーが発生します。
宣言touchBegan(touches:withEvent)には、潜在的なオーバーライドとは異なる引数名があります。
touchBegan(touches:withEvent)
何かご意見は?