Function to recognize control overlap
Is there any function to recognize that two contro开发者_开发问答ls have overlap in xcode?
i can recognize it with position of them on view but want to do it with function beacuase i have many controls on view.
Use CGRectIntersectsRect()
with controls' frames as arguments.
精彩评论