请问:如何调整xcode中加入的控件层次 我有2个按钮,后加入的那个总在先加入的那个上面,但是我想让他在下面不要遮挡按钮1,如何解决?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 - (void)bringSubviewToFront:(UIView *)view;- (void)sendSubviewToBack:(UIView *)view; 用鼠标把视图对应的列表拖到下面。如:显示view, label1, label2.要想让label1在上层,把label1拖到label2下面就可以了。(昨天在狮子系统中试过)。 - (void)bringSubviewToFront:(UIView *)view;- (void)sendSubviewToBack:(UIView *)view; 直接将按钮2 拖到view的试图上,就不会覆盖了 更复杂的改变view层次的方法:- (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview;- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview;- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index;- (void)exchangeSubviewAtIndex:(NSInteger)index1 withSubviewAtIndex:(NSInteger)index2; 真实GPS坐标转火星坐标查询数据库(google) ios5书报亭 如何配置app在itunes里的图标 求教!!!uitextview加载html时候的异步加载图片问题 ad hoc 上架也要通过 https://itunesconnect.apple.com填写一大堆app的信息? IOS FFMPEG相关 关于多线程 Organization Name和Organization Identify怎么写? ios中的设计模式 请教 IOS 百度地图本地云检索失败 请教IOS有关获取后台应用列表的问题 请问 ASIHTTPRequest 如何 post 不是标准的字符串?
- (void)sendSubviewToBack:(UIView *)view;
如:显示view,
label1,
label2.
要想让label1在上层,把label1拖到label2下面就可以了。(昨天在狮子系统中试过)。
- (void)sendSubviewToBack:(UIView *)view;
- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview;- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index;
- (void)exchangeSubviewAtIndex:(NSInteger)index1 withSubviewAtIndex:(NSInteger)index2;