In my app I have added a UIView as a new subView, however it covers up a UISegmentedControl. I was wondering if there’s a way to move the UISegmentedControl back on top so its fully visible?
In my app I have added a UIView as a new subView, however it
Share
If you take a look at the docs for UIView you’ll find that there are several options:
-insertSubview:belowSubview:-insertSubview:atIndex:-bringSubviewToFront:-exchangeSubviewAtIndex:withSubviewAtIndex:Also, take a look at View Architecture Fundamentals for an overview of how views relate to each other.