使用DropBox api我尝试使用弹出式登录表单
登录任何详细信息DBLoginController *dropBoxLoginController = [[DBLoginController new] autorelease];
dropBoxLoginController.delegate = self;
[dropBoxLoginController presentFromController:self];
它将始终触发DropBox在其代码中仔细提供的异常警告,特别是在方法中 -
-(id)initWithText:andSecret:forRequest:usingMethod:
无法登录,&我无能为力将使它发挥作用。欢迎任何建议!
答案 0 :(得分:0)
愚蠢的我......(并不罕见)
我没有认为应用必须首先登录,在任何用户可以之前,使用以下内容 -
DBSession *dbSession =
[[[DBSession alloc] initWithConsumerKey:@"My Consumer Key"
consumerSecret:@"My Consumer Secret"]
autorelease];
[DBSession setSharedSession:dbSession];
之后,用户登录正常......