I'm trying to make a gesture recognizer in my app with Interface Builder.
I drag and drop my gesture on my view (it is a UIView
which contains UILabel
, UIImage
and UITextView
, all made in Interface Builder).
But when I compile and run, my app crashes and I get the following error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString setView:]: unrecognized selector sent to instance 0x80a5fd0'
I don't understand the reason.
Can someone help me?