Posted in iOS, Swift

iOS, Swift | Button click action issue

Environment

Xcode Version 9.0.1

 

Symptom

 

Button click action makes error

unrecognized selector sent to instance

 

Resolution

Select View Controller instead of other objects as an object when connecting UIButton action

Advertisements