摘要: 1.根据字符串的长度确定Button的长度(button的高度给定) let hight:CGFloat = 30.0 let size1 = CGSize(width: getLabWidth(labelStr: "我的升级换代卡号多少", font: UIFont.systemFont(ofSi 阅读全文
posted @ 2016-11-04 17:56 执笔葬青春 阅读(2271) 评论(0) 推荐(0) 编辑