如何在ios App中的Google身份驗證之後繼續?當我允許訪問我的應用程序。出現的窗口是「請複製此代碼,切換到您的應用程序並將其複製到:」。我不知道如何從這裏開始。 這是我的代碼編寫如何在ios App中的Google身份驗證之後繼續
SEL finishedSel = @selector(viewController:finishedWithAuth:error:);
viewController = [[GTMOAuth2ViewControllerTouch
controllerWithScope:scope
clientID:clientID
clientSecret:clientSecret
keychainItemName:nil
delegate:self finishedSelector:finishedSel]autorelease];
-(void)viewController:(GTMOAuth2ViewControllerTouch *)viewController
finishedWithAuth:(GTMOAuth2Authentication *)auth
error:(NSError *)error {
if (error != nil) {
// Authentication failed
} else {
// Authentication succeeded
}
}
您是否得到您的解決方案....對於您的職位 – ChenSmile