iOS 設置label的邊距

- (void)drawTextInRect:(CGRect)rect { UIEdgeInsets insets = {10, 20, 0, 20}; [super drawTextInRect:UIEdgeInsetsInsetRect(rect, insets)]; }
相關文章
相關標籤/搜索