I would like to integrate OneDrive API to my app but I get this error when I try to initialize LiveConnectClient:
Extra argument 'scopes' in call
Here is my code:
self.liveClient = LiveConnectClient(clientId: ClientID, scopes: Scopes, delegate: self, userState: "initialize")
When I try the version without scope, then I get the same error only with userState argument. I don't have any error when I try version with clientId and delegate.
Here my variables:
private let ClientID = "000000001234567"
private let Scopes = ["wl.signin", "wl.skydrive", "wl.skydrive_update", "wl.offline_access"]
private var liveClient: LiveConnectClient
What is wrong?