有什么办法从具有PFFile指针(照片)的类中获取数据?Parse.com includeKey和PFFile
let query = PFObject(classname: "Person")
query.includeKey("photo")
[Error]: field photo cannot be included because it is not a pointer to another object
因此,在完成第一个请求后,我不必再向parse.com请求另一个请求吗?
是的,includeKey的目的是你也下载指针列,所以它应该工作。你确定“照片”列是指针列吗?或拼写错误的名字? – 2015-01-04 14:47:58
是的,我确定,这是我现在所做的一个例子:https://gist.github.com/ivangodfather/3084b374366f6624ee5c – Godfather 2015-01-04 15:09:36
http://www.ruiznadal.com/screenshots/usertable.png < - 实际PFUser表 – Godfather 2015-01-04 15:11:29