作者:朱克锋

邮箱:zhukefeng@iboxpay.com

转载请注明出处:http://blog.csdn.net/linux_zkf

UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(881208040)];

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

Logo

更多推荐