iOSUILable边距设置

   在iOS中Lable是没有 UIEdgeInsets这个属性能够调用的,那么咱们想修改下Lable的上下左右的边距该怎么办呢?例如: atom 那么如今来实现下,代码以下:spa 1.首先建立一个继承UILable的类3d 2.增长 UIEdgeInsets属性code #import <UIKit/UIKit.h> @interface customBaseLab : UILabel /
相关文章
相关标签/搜索