I am using Swift playgrounds trying to make an interactive app in which the user can click on a button to perform an action.
let tapGesture = UITapGestureRecognizer(target: self, action: #selector(self.tapBlurButton(_:)))
func tapBlurButton(_ sender: UITapGestureRecognizer) {
print("Please Help!")
}
It is giving me the error:
'use of unresolved identifier self'
. How can I fix this in Swift 3?