使用方式
UITextField
self.textF.maxTextLength = 5;
self.textF.placeHolderColor = [UIColor blueColor];
self.textF.placeholder = @"123";
UITextView
self.textV.textContainerInset = UIEdgeInsetsMake(50, 0, 0, 0);
self.textV.maxTextLength = 1000;
self.textV.placeHolderColor = [UIColor redColor];
self.textV.placeholder = @"fawefaw";
示例