How to tell whether on sub-view's is above another sub-view?
- by Horace Ho
Assume there are 3 sub-views (A, B, C) in a view. After a few rounds of random bringSubviewToFront and sendSubviewToBack on A, B, or C , how can I tell whether one sub-view (e.g. A) is on top of another sub-view (e.g. C)?
Whether they overlap each other is not required information.
Thanks!