iOS开发笔记--视图插入到顶层实例
作者:朱克锋邮箱:zhukefeng@iboxpay.com转载请注明出处:http://blog.csdn.net/linux_zkfUILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(88, 120, 80, 40)];label.text = @"test";[self.view
·
作者:朱克锋
邮箱:zhukefeng@iboxpay.com
转载请注明出处:http://blog.csdn.net/linux_zkf
UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(88, 120, 80, 40)];
label.text = @"test";
[self.view insertSubview:label atIndex:[[self.view subviews] count]];
类似方法
- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview
- (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview
更多推荐
已为社区贡献1条内容
所有评论(0)