UIView层的操作(简单总结,备用)
来源:互联网 发布:win10系统无法下载软件 编辑:程序博客网 时间:2024/05/04 20:14
//从主view删除- (void)removeFromSuperview;//插入到指定索引位置- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index;//交换两view的索引位置- (void)exchangeSubviewAtIndex:(NSInteger)index1 withSubviewAtIndex:(NSInteger)index2;//加到view上- (void)addSubview:(UIView *)view;//插入到siblingSubview下层- (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview;//插入到siblingSubview下层- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview;- (void)bringSubviewToFront:(UIView *)view;- (void)sendSubviewToBack:(UIView *)view;- (void)didAddSubview:(UIView *)subview;- (void)willRemoveSubview:(UIView *)subview;- (void)willMoveToSuperview:(UIView *)newSuperview;- (void)didMoveToSuperview;- (void)willMoveToWindow:(UIWindow *)newWindow;- (void)didMoveToWindow;- (BOOL)isDescendantOfView:(UIView *)view; // returns YES for self.- (UIView *)viewWithTag:(NSInteger)tag; // recursive search. includes self 通过tag值找到某个view
0 0
- UIView层的操作(简单总结,备用)
- jquery弹出层(备用)
- UIView的层介绍
- springMVC简单使用(备用)
- git常用操作(备用)
- JfreeChart 学习总结(备用:)
- 20150701_UI之UIView层操作
- UIView 的图层关系
- UIView和层的区别?
- UIView 的图层关系
- UIView 的图层关系
- UIView的图层关系
- UIview图层的技术
- UIView的一般操作 - iOS - UI基础知识总结1
- 内核层简单的文件操作
- UIView的简单动画
- UIView的简单动画
- UIView的动画总结
- Https基础以及如何配置Https
- matlab中的点运算
- poj 2352
- 算法学习
- java基础:线程方法之join
- UIView层的操作(简单总结,备用)
- ios 模拟器位置
- 一天一段scala代码(五)
- 各种排序算法的分析及java实现
- 08-0. 查找整数(10)
- 杭电 2014 青年歌手大奖赛_评委会打分
- Android Studio学习---------Project篇
- Android 打造形形色色的进度条 实现可以如此简单
- 08-1. 求一批整数中出现最多的个位数字(20)