bringSubviewToFront()和sendSubviewToBack()
来源:互联网 发布:apache服务器配置 编辑:程序博客网 时间:2024/05/29 05:57
bringSubviewToFront:和sendSubviewToBack://这两个方法均是由层级父视图调用//区别是第一个会把参数视图显示在最前面,第二个会把参数视图显示在最后面其他相关方法exchangeSubviewAtIndex:<#(NSInteger)#> withSubviewAtIndex:<#(NSInteger)#>此方法会交换视图层位置关系 视图层 从最底层为0开始计算 每个视图层有对应的NSInteger类型的下标父视图调用insertSubview:view1参数abovesubview:view2参数方法用途:在父视图上插入view1视图在view2上父视图调用insertSubview:view3 atIndex:<#NSInteger#>方法用途:在父视图上插入view3在指定的下标
阅读全文
0 0
- sendSubviewToBack和bringSubviewToFront
- bringSubviewToFront()和sendSubviewToBack()
- sendSubviewToBack,bringSubviewToFront
- BringSubviewToFront sendSubviewToBack 小结
- bringSubviewToFront/sendSubviewToBack/removeFromSuperview
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- iOS 视图层次管理 sendSubviewToBack、bringSubviewToFront
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- iOS 视图层次管理 sendSubviewToBack、bringSubviewToFront
- UIView层次切换(bringSubviewToFront,sendSubviewToBack)的使用
- ios工作札记2——UIView层次管理(sendSubviewToBack,bringSubviewToFront)
- iOS7 bringSubviewToFront 和frame问题
- MySQL数据库以及相关知识点总结大全
- Week11 209. Minimum Size Subarray Sum
- [Struts2]初识框架/表单提交数据/struts2配置
- java----监听器的作用
- 函数指针做形参
- bringSubviewToFront()和sendSubviewToBack()
- 561. Array Partition I。
- 如何快递获得某个sql表的长度?
- 安卓设计模式のBuilder模式
- hdu 2037 今年暑假不AC
- bzoj 3288 欧拉函数线性筛法
- 《Java编程思想》--通过异常处理错误--第12章
- OpenDDS在两台机器上使用方式
- String类的常用方法总结