iOS UI控件
May_Deng
学生
展开
-
扩大UIButton的点击区域
UIEdgeInsets UIEdgeInsetsMake ( CGFloat top, CGFloat left, CGFloat bottom, CGFloat right); //上,左,下,右 UIEdgeInsets UIEdgeInsetsMake ( CGFloat top, CGFloat left, CGFloat bottom, CGFloat right);原创 2014-03-14 11:04:09 · 965 阅读 · 0 评论 -
uitextfield placeholder字体颜色和垂直居中
[self.searchTField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"]; self.searchTField.contentVerticalAlignment= UIControlContentVerticalAlignmentCenter;原创 2014-03-14 11:08:27 · 5767 阅读 · 0 评论 -
自定义个UIProgressView(可自己设置高度)
由于项目需求中的加载进度条的高度比系统原生的高度要小一些,于是乎就继承UIView自己写了个UIProgressView原创 2014-03-26 15:26:45 · 3479 阅读 · 0 评论