Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道一个功能可以将视图带到前面。
[self.view bringSubviewToFront:myView];
我想知道是否有一个函数可以将子视图发送到后面。
尝试,
目标 C:
[self.view sendSubviewToBack: yourView];
迅速:
self.view.sendSubview(toBack: yourView)