摘要:
思路分析: 0.自定义UITextField 1.设置占位文字的颜色找-->placeholderColor,结果发现UITextField没有提供这个属性 2.在storyboard/xib中寻找设置placeholder的属性,也没有发现 3.发现UITextField中有- (void)drawPlaceholderInRect:(CGRect)rect;,这个方法用到Quartz... 阅读全文
posted @ 2016-03-24 10:44
FMDN
阅读(640)
评论(0)
推荐(0)

浙公网安备 33010602011771号