send subview to the back
17,594
Try,
Objective C:
[self.view sendSubviewToBack: yourView];
Swift:
self.view.sendSubview(toBack: yourView)
Related videos on Youtube
Author by
SirRupertIII
Updated on September 15, 2022Comments
-
SirRupertIII over 1 year
I know of a function that brings a view to the front.
[self.view bringSubviewToFront:myView];
I am wondering if there is a function that sends a subview to the back.
-
CodaFi over 11 yearsI believe it literally is called
-sendSubviewToBack:
. LOL
-