Reputation: 203
Is there any way to authenticate the user within the app for Dropbox in iPhone ?
I using Dropbox IOS instruction for integrating Dropbox.
But my application got rejected by apple as "the app exits to Safari in order to authenticate the user's Dropbox account".
Please give me some solution so I can authenticate Dropbox within application.
Upvotes: 4
Views: 821
Reputation: 3260
yes you can authenticate dropbox within the application.The new API of dropbox authenticates within the app.
Below method is when you want to open dropbox.so just write that method and assign that action to button, and rest of the delegate methos you can find on https://www.dropbox.com/developers/start/authentication#ios link
-(IBAction)goDropBox
{
//DBSession* dbSession = [[DBSession sharedSession] unlinkAll];
// if (![[DBSession sharedSession] isLinked])
// {
[[DBSession sharedSession] linkFromController:self];
// }
}
Happy Coding!!!!!!
Upvotes: 6