使用方法
1.将UIEdgeInsetsLabel.h,UIEdgeInsetsLabel.m文件拉入工程。
2.引入UIEdgeInsetsLabel.h文件。
3.使用contentInset属性设置内边距
self.edgeLabel.contentInset = UIEdgeInsetsMake(20, 20, 20, 20);













网友评论