2015-05-25 31 views

回答

0
- (void)drawPlaceholderInRect:(CGRect)rect { 
    [self.placeholder drawInRect:rect withAttributes:@{NSFontAttributeName: [UIFont fontWithName:@"MyriadPro-Bold" size:15.0], NSForegroundColorAttributeName: self.textColor}]; 
} 
+0

我可以爲佔位符設置兩個不同的'fonts'嗎? – aircraft