美文网首页
修改TextField的placeholder的字体颜色

修改TextField的placeholder的字体颜色

作者: 大强哥 | 来源:发表于2016-09-14 11:55 被阅读11次
    [textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
    

    相关文章

      网友评论

          本文标题:修改TextField的placeholder的字体颜色

          本文链接:https://www.haomeiwen.com/subject/cuevettx.html