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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.