-
Notifications
You must be signed in to change notification settings - Fork 207
View self insertView View number
xu_whale edited this page Dec 4, 2019
·
5 revisions
将视图插入到当前视图的某一个层级
将视图插入到当前视图的某个层级,该方法只有容器类拥有
- @param a View 子视图
- @param b number idx:插入的位置,0为最底部,往上递增
⚠️ local修饰的子视图在iOS会被不定时释放,具体参考UI组件消失问题