![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS技术博客
文章平均质量分 77
LKmen
这个作者很懒,什么都没留下…
展开
-
lable等动态适应多行字符串的高度
动态适应多行字符串的宽、高度: UIFont * font = [UIFont fontWithName:@"HelveticaNeue" size:20]; CGSize size = [@"agaergea" sizeWithAttributes:[NSDictionary dictionaryWithObject:font forKey:NSFontAttribute原创 2016-08-08 14:11:04 · 108 阅读 · 0 评论 -
自定义switch
//.h #import @protocol switchView - (void)passwordIsVisibleWithBool:(BOOL)secureTextEntry; @end @interface switchView : UIView @property (nonatomic, strong) UIVi原创 2016-08-21 11:31:47 · 178 阅读 · 0 评论