• 博客(0)
  • 资源 (1)

空空如也

iOS-UI控件常见属性总结

1.UIView                             // 如果userInteractionEnabled=NO,不能跟用户交互 @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // 控件的标记(父控件通过标记可以找到对应的子控件) @property(nonatomic) NSInteger tag; // 控件的位置和尺寸(以父控件的左上角为坐标原点) @property(nonatomic) CGRect frame; // 控件的位置和尺寸(以控件本身的左上角为坐标原点) @property(nonatomic) CGRect bounds; // 控件的中点位置(以父控件的左上角为坐标原点) @property(nonatomic) CGPoint center; // 形变属性:旋转、缩放、平移 @property(nonatomic) CGAffineTransform transform; // 父控件 @property(nonatomic,readonly) UIView *superview; // 所有的子控件 @property(nonatomic,readonly,copy) NSArray *subviews;

2015-11-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除