I would like to be able to addSubview beneath another already existing UIView, how can I do that? I haven't been able to find anything on this.
In Swift:
self.view.insertSubview(newView, belowSubview: yourLabel)
How about the UIView method: insertSubview:belowSubview:
.
It's right there in the "Managing the View Hierarchy" section of the UIView docs.
you can use :
[self.view insertSubview:topview belowSubview:buttomView];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With