no
Hello, I'm still new to Swift so this may be a dumb question, but here goes...
I want to invoke the clearStoredAccessTokens() function of the DropboxOAuthManager class. I coded this...
DropboxOAuthManager.clearStoredAccessTokens()
... and the compiler is giving me this...
Instance member 'clearStoredAccessTokens' cannot be used on type 'DropboxOAuthManager'; did you mean to use a value of this type instead?
How do I code this?
Solved! Go to solution.
You can use that method on the shared instance like this:
DropboxOAuthManager.sharedOAuthManager.clearStoredAccessTokens()
Hope this helps!
You can use that method on the shared instance like this:
DropboxOAuthManager.sharedOAuthManager.clearStoredAccessTokens()
Hope this helps!
Thanks!
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.