很简单
GIDSignIn *signIn = [GIDSignIn sharedInstance];
signIn.shouldFetchBasicProfile = YES;signIn.delegate = self;
signIn.uiDelegate = self;
signIn.scopes = @[@"https://www.googleapis.com/auth/youtube.force-ssl"];
ios也要在signin之前注册权限 就好了
很简单
GIDSignIn *signIn = [GIDSignIn sharedInstance];
signIn.shouldFetchBasicProfile = YES;ios也要在signin之前注册权限 就好了