Skip to content

HimmaHorde/YLEdgeLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YLEdgeLabel

UILabel添加内边距

使用

  • 直接设置 insets _testLabel.contentEdgeInsets = UIEdgeInsetsMake(15, 15, 15, 15);
  • 单独设置某一边的insets _aimLabel.topEdge = arc4random()%30 + 4;

添加 pod 引用