PFUser / PFInstallaion saveEventually - 在调用中缺少参数#1的参数

时间:2021-07-28 09:40:36

I am using PFUser and PFInstallation with the saveEventually method. However, when I call the method I get an error that reads:

我正在使用PFUser和PFInstallation与saveEventually方法。但是,当我调用该方法时,我收到的错误是:

Missing argument for parameter #1 in call

调用中缺少参数#1的参数

Any idea what Xcode is asking for? Do I need to import any special header files? Here is my code:

知道Xcode要求什么吗?我需要导入任何特殊的头文件吗?这是我的代码:

PFUser.currentUser().saveEventually()

installation.saveEventually()

1 个解决方案

#1


7  

I figured it out. I had to import BFTask.h in my bridging header.

我想到了。我必须在我的桥接头中导入BFTask.h。

#import <Bolts/BFTask.h>

#1


7  

I figured it out. I had to import BFTask.h in my bridging header.

我想到了。我必须在我的桥接头中导入BFTask.h。

#import <Bolts/BFTask.h>