I’ve got a problem with detecting intersection of my UIView objects.
That’s what I have used below:
For intersection two object I need to figure out how to translate one coordinates system from first superview to another coordinates system.
I’ve used this approach: - (CGRect)convertRect:(CGRect)rect fromView:(UIView *)view described here link.
As I know it is very simple to use this method. But in the different cases it is hard due a little description in documentation (but maybe just for me).
This is my structure of subviews that is shown on image below. I have already got all methods for drag and drop object. But I need to figure out how to get intersection for UIView A and UIView B. Thanks for help.

I have implemented this solution: