修改UITextfield的Placeholder字體的顏色

//第一種 UIColor *color = [UIColor whiteColor]; _userName.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"用戶名" attributes:@{NSForegroundColorAttributeName: color}]; //第二種
相關文章
相關標籤/搜索