开发者

Function to recognize control overlap

开发者 https://www.devze.com 2023-02-10 02:41 出处:网络
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 contro

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消