follower表格的_User指针,Query获得的返回数据不对
AVUser.current()?.getFollowers
AVQuery(className: "_Follower")
都不行
-
创建时间
20年5月25日
-
最后回复
20年5月29日
-
8
回复
-
2.6K
浏览
-
3
用户
-
2
链接
follower表格的_User指针,Query获得的返回数据不对
AVUser.current()?.getFollowers
AVQuery(className: "_Follower")
都不行
·let followersQuery = AVQuery(className: "_Follower")
followersQuery.whereKey("", equalTo: )用这个获取其他列的数据就没问题,但是followersQuery.whereKey("user", equalTo: AVUser.current()!)返回的就是空的,但是在控制台看不是空的
·let followersQuery = AVUser.followerQuery(AVUser.current()!) <-用这个获取也是空的
·AVUser.current()?.getFollowers <- 用这个也是空的
·所以我觉得是我_Follower表里的user列的指针出了问题不?? 求助
建议你先升级到最新版,目前的最新稳定版是 12.1.3 ,可以在这个页面获取各版本的更新说明:
https://github.com/leancloud/objc-sdk/releases1
可以使用我们的消息推送服务,相关文档如下:
https://leancloud.cn/docs/push_guide.html2