I have an image which has a relatively large area of transparency, alpha space. So is there a way I can detect a tap on this UIImageView but not have any response if the user taps the alpha area?
This is theoretical and I don't have code to add, but you could create an identical button and add it for UIControlStateTouched so there's no change when the button/image is touched.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more