設置 UILabel 距離邊框的距離

要更改 Label 距離邊框的距離就須要自定義 Label,完了重寫該方法spa /*   距離左5個單位,距離上5個單位*/3d -(void)drawTextInRect:(CGRect)rect{orm          CGRect frame = CGRectMake(rect.origin.x + 5, rect.origin.y + 5, rect.size.width - 10,
相關文章
相關標籤/搜索