gpt4 book ai didi

ios - 如何在Dropbox iPhone应用程序中集成注销功能?

转载 作者:行者123 更新时间:2023-12-01 17:59:33 25 4
gpt4 key购买 nike

我正在iPhone的Dropbox应用程序中工作,使用Dropbox_SDK开发此应用程序,我已经从我的dropBox帐户上载并下载了一个文件,它的工作正常。
然后我尝试注销iPhone中的保管箱帐户,但我不知道该集成,
这个怎么做?

- (void)viewDidLoad
{
UIButton *Logout =[[UIButton buttonwithtype:UIButtonTypeRoundedRect];
Logout.frame=cgrectmake(10,10,100,50);
[Logout setTitle:@"Log Out" Forstate:UIControlStateNormal];
[Logout addTarget:self action:@selector(Method)ForcontrolEvent:UIControlEventTouchUpInside];
[Self.view addsubview:Logout];
}

-(void)Method
{

//Logout Integration

}

最佳答案

使用此命令注销iPhone应用程序中的保管箱帐户

 [[DBSession sharedSession] unlinkAll];

关于ios - 如何在Dropbox iPhone应用程序中集成注销功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12381935/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com