简体   繁体   中英

iPhone Objective C: How to get a pixel's color of the touched point on an UIImageView?

iPhone Objective C: How to get a pixel's color of the touched point on an UIImageView , even if the parent UIView or itself is being rotated by the CGAffineTransformMakeRotation function?

Will the view property of the UITouch still correctly return the correct pixel of the touched point even if the UIView / UIImageView is being scaled and rotated?

Many thanks for reading

edited: Thanks for the answer & comments, but sorry I still don't know how to get the X,Y point of the scaled/rotated image from the touch event, and then extract the color from it. Would anyone mind to help?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM