我正在尝试从 IOS 代码在 parse.com 上手动注册一个新用户。我需要这个,因为我想在注册时添加 3-4 个额外字段。这是我正在尝试的代码,但它没有将数据插入用户类:
PFObject *testObject = [PFObject objectWithClassName:@"User"];
[testObject setObject:@"bar" forKey:@"username"];
[testObject setObject:@"bar" forKey:@"password"];
[testObject setObject:@"1111111" forKey:@"additional"];
[testObject setObject:@"bar@123.com" forKey:@"email"];
[testObject setObject:@"2323233" forKey:@"phoneNumber"];
[testObject setObject:@"12,california" forKey:@"address"];
[testObject save];
请提供任何帮助。我在这里做错了什么?