I am looking for a pixel collision with two UIImageviews with transparency.
The check should be performed after dragging and dropping the UIView, and it should determine if the UIView overlaps another UIImageview. With CGRectIntersectsRect, only frames are compared. Maybe there is a solution to create a new UIImageview from the overlapped area and check if it has only transparency?
Perhaps someone has a different hint or solution?
source
share