Rejected again.
iPad logon screen is not the same than iPhone… I need to add some lines.
In the webViewDidFinishLoad:(UIWebView *)webView function in the file GTMOAuth2ViewControllerTouch.m, The code modification are thus:
- (void)webViewDidFinishLoad:(UIWebView *)webView { [self notifyWithName:kGTMOAuth2WebViewStoppedLoading webView:webView kind:kGTMOAuth2WebViewFinished]; // The line of code... [webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('link-sign-up').style.display = 'none';"]; [webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByClassName('google-footer-bar')[0].style.display = 'none';"]; [webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByClassName('signup-button')[0].style.display = 'none';"]; [...]
Leave a Reply