1
2
3 |
checkBox.contentEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10); //设置内容的内边距 checkBox.imageEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10); //设置图片的外边距 checkBox.titleEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10); //标题的外边距 |
原文地址:http://www.cnblogs.com/congliang/p/3740401.html