title: How to display a UIView when it overlaps another iOS?
body: <p>I am trying to re-implement something similar to the Apple Watch Friend Picker. I have two UIViews, both with a corner radius of half their height so they appear as circles. How do I calculate where they overlap and only show that part. My UI is in the first picture and the second one contains the desired behavior. Thanks in advance for any help? <a href="https://i.stack.imgur.com/EPdBB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EPdBB.png" alt="Current UI"></a><a href="https://i.stack.imgur.com/pQcxo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pQcxo.png" alt="Apple Watch UI"></a></p>