IOS開發--給UIImageView添加touch事件 - xdrt81y的專欄 - 博客頻道 - CSDN.NET

IOS開發--給UIImageView添加touch事件 - xdrt81y的專欄 - 博客頻道 - CSDN.NET

瀏覽:1242
日期:2024-07-14
Add Tap gesture UITapGestureRecognizer to myImageView view (type of UIImageView).UITapGestureRecognizer *myTapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gesture ... Then when you implement your imageViewClicked method, ...看更多