iOS 修改textholder的颜色
摘要:
UITextField *textField = [[UITextField alloc]initWithFrame:CGRectMake(10, 50, 320, 50)]; textField.placeholder = @"填写订单"; if ([textField respondsToSelector:@selector(setAttributedPlaceholder:)]) { UIColor *color = [UIColor redColor]; textField.attributedPlaceholder = [[NSAttribut... 阅读全文
posted @ 2014-04-02 20:57 Hai_阔天空 阅读(363) 评论(0) 推荐(0)
浙公网安备 33010602011771号