tf默认文字修改

2020-07-28  本文已影响0人  adalillian

    

    NSAttributedString* tfPhoneAttibutedString = [[NSAttributedStringalloc]initWithString:@"XXXX码"attributes:@{NSForegroundColorAttributeName:kRGB(219,219,219),NSFontAttributeName:REGULAR15FONT}];

    self.sss.attributedPlaceholder= tfPhoneAttibutedString;

上一篇下一篇

猜你喜欢

热点阅读