爲UIImageView添加響應點擊事件(Swift)

爲UIImageView添加Tap手勢 let singleTapGesture = UITapGestureRecognizer(target: self, action: #selector(imageViewClick)) imageView?.addGestureRecognizer(singleTapGesture) imageView?.isUserInteractionEnabled
相關文章
相關標籤/搜索