How to assign an action for UIImageView object in Swift How to assign an action for UIImageView object in Swift swift swift