摘要: #pragma mark--计算字符串长度 - (CGSize)strsizewithstr:(NSString *)str{ NSDictionary *attributes = @{NSFontAttributeName:[UIFont systemFontOfSize:20]}; CGSize 阅读全文
posted @ 2017-03-31 15:24 柳仙慧子 阅读(147) 评论(0) 推荐(0) 编辑
摘要: UIButton *clearButton = [self.textField valueForKey:@"_clearButton"]; [clearButton setImage:[UIImage imageNamed:@"close"] forState:UIControlStateNorma 阅读全文
posted @ 2017-03-31 15:08 柳仙慧子 阅读(472) 评论(0) 推荐(0) 编辑