美文网首页
iOS 修改占位文字的字体大小和颜色

iOS 修改占位文字的字体大小和颜色

作者: 花蕊1235 | 来源:发表于2017-12-20 10:19 被阅读0次

    [cell.textFiledsetValue:[UIColorcolorWithRed:153.0/255green:153.0/255blue:153.0/255alpha:1.0]forKeyPath:@"_placeholderLabel.textColor"];

    [cell.textFiledsetValue:[UIFontboldSystemFontOfSize:16]forKeyPath:@"_placeholderLabel.font"];

    相关文章

      网友评论

          本文标题:iOS 修改占位文字的字体大小和颜色

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