gpt4 book ai didi

ios - 从服务器更新 PFUser

转载 作者:行者123 更新时间:2023-11-29 02:02:52 27 4
gpt4 key购买 nike

我有一个 PFUser 在两台 iOS 设备上登录。当每个应用程序启动时,我需要从服务器下载 PFUser 数据以保留最新数据(在第二个设备上制作)。

有什么方法可以做到这一点吗?因为在文档中没有提到这样的事情:https://parse.com/docs/osx/api/Classes/PFUser.html

最佳答案

好的,有两种解决方案:

1) 正如 Michael 提到的那样 - 不要使用 Parse。 :)

2) 或者使用:

[[PFUser currentUser] fetchInBackgroundWithBlock:^(PFObject *object, NSError *error) {
...
}];

关于ios - 从服务器更新 PFUser,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30138175/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com