How could I detect, not only if the frames of two images intersect, but the side in which the intersect happened on? Was the imageview touched on its left side, or right side?
Share
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 both
CGRectsthat intersected, and get their respective frames, and then determine by their position where they are at.