I am trying to pass hitTest to the element underneath mine if the user touch is on an alpha pixel (transparent)
What I don’t know is how to find out if pixel on CGPoint(20, 20) is full alpha or not?
iOS 4.+
Thanks, O.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get the pixel RGBA and then get alpha
I’ve found this code in http://www.markj.net/iphone-uiimage-pixel-color/