AddSubview under another UIView?

Just a concept, I would like to be able to addSubview under another already existing UIView, how can I? I could not find anything on this, so any help is appreciated.

Thanks.

+4
source share
2 answers

How about the UIView: insertSubview:belowSubview: .
It is located directly in the "Managing View Hierarchy" section of UIView documents.

+15
source

you can use:

 [self.view insertSubview:topview belowSubview:buttomView]; 
+5
source

Source: https://habr.com/ru/post/1446300/


All Articles