相关疑难解决方法(0)

Google云端硬盘iOS SDK:显示取消登录按钮

我正在使用iOS应用程序,我使用谷歌驱动器访问我的文件,登录和列表文件工作正常,但我只是问我如何在登录界面上添加取消按钮由谷歌驱动器sdk提供查看图像怒吼

在此输入图像描述

因为,你看到没有办法做一个cancel或一个go back按钮.

这是我的代码

// verify if the user is already connected or not 
    - (void)checkIfIsConnected
    {
        // Check for authorization.
        GTMOAuth2Authentication *auth =
        [GTMOAuth2ViewControllerTouch authForGoogleFromKeychainForName:kKeychainItemName
                                                              clientID:kClientID
                                                          clientSecret:kClientSecret];
        if ([auth canAuthorize]) {
            [self isAuthorizedWithAuthentication:auth];
        }else
        {
            [self ConnectToDrive];
        }
    }

    - (GTLServiceDrive *)driveService {
        static GTLServiceDrive *service = nil;
        if (!service) {

            service = [[GTLServiceDrive alloc] init];
            // Have the service object set tickets to fetch consecutive pages
            // of the feed so we do not …
Run Code Online (Sandbox Code Playgroud)

ipad ios ios5 google-drive-api

10
推荐指数
2
解决办法
4092
查看次数

标签 统计

google-drive-api ×1

ios ×1

ios5 ×1

ipad ×1