UIView
主要方法(调用顺序)
- (instancetype)init;
- (instancetype)initWithFrame:(CGRect)frame;
- (void)drawRect:(CGRect)rect;
- (void)setNeedsLayout;
- (void)setNeedsDisplay;
- (void)layoutIfNeeded
- (void)layoutSubviews;
- (void)dealloc;
Last updated
Was this helpful?