KyPass 2.4 was rejected by Apple! (part 3)

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';"];

Did you like this article ? Then share it with your friends by clicking the buttons below:

Twitter Facebook Google Plus Linkedin email