在我的 PFLogInViewController 子类的 CustomLogInViewController 类中,我有这样的代码:
@implementation CustomLogInViewController
- (void)viewDidLoad {
[super viewDidLoad];
.......
self.logInView.usernameField.attributedPlaceholder = sOME_VALUE;
self.logInView.passwordField.attributedPlaceholder = sOME_OTHER_VALUE;
.......
}
这并没有产生任何特别的问题,但是最近(在 POD 更新之后),我收到了以下错误消息:
Property 'attributedPlaceholder' cannot be found in forward class object 'PFTextField'
有没有其他人遇到过这种情况并有解决方案?