use*_*886 4 ios parse-platform
在Parse仪表板的"数据浏览器"窗格中,我看到了安装和用户类.但是,对于特定设备上的特定用户,objectIds不匹配.现在,用户订阅的频道仅在安装类中可见.有没有办法将用户ID(从用户类)链接到安装ID,以便可以知道用户订阅了哪些频道?任何教程或解决方案的链接将不胜感激.
Jac*_*cob 12
// Associate the device with a user
PFInstallation *installation = [PFInstallation currentInstallation];
installation[@"user"] = [PFUser currentUser];
[installation saveInBackground];
Run Code Online (Sandbox Code Playgroud)
这将把用户放在Installation表的"user"列中,该列将是指向_User表的指针.
| 归档时间: |
|
| 查看次数: |
3172 次 |
| 最近记录: |