摘要:
1.superview获得自己的父控件对象@property(nonatomic,readonly)UIView *superview2.subviews获得自己的所有子控件对象@property(nonatomic,readonly,copy)NSArray *subviews; int count=self.view.subviews.count; NSLog(@"控件的个数有%d",count);3.tag控件的ID\标志,父控件可以通过tag来找到相应的子控件@property (nonatomic)NSInteger tag;4.frame控件所在的矩形框位置和尺 阅读全文
posted @ 2014-04-12 11:49
太过于漂流
阅读(146)
评论(0)
推荐(0)
摘要:
代码 【Alert】代码:1.加入协议2.-(IBAction)btnShowAlertView:(id)sender{ UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"标题" ... 阅读全文
posted @ 2014-04-12 11:28
太过于漂流
阅读(406)
评论(0)
推荐(0)

浙公网安备 33010602011771号