UIview

1、Frame是以父视图为起点,得出自己得位置信息
2、Bounds是以ios系统的原点为坐标,坐标为(0,0);
3、Center表示视图中心点所在的位置,用来改变视图的位置
4、子视图 subview
5、父视图 superview
6、视图的试验方法
     addSubview  添加子视图
     insertSubview:atIndex 视图插入到指定索引位置
     insertSubview:aboveSubview 视图插入到指定视图之上
     insertSubview:belowSubview 视图插入到指定视图之下
     bringSubviewToFront  将视图移到最顶层
     sendSubviewToBack    将视图移到最底层    
     exchangeSubviewAtIndex:withSubviewAtIndex 将两个视图对换位置
     removeFromSuperview 把视图从父视图中移除

 
posted @ 2014-10-22 09:04  慕容曦文  阅读(97)  评论(0)    收藏  举报