We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cant seem to close the window, I see in the log I keep getting,
CDVInAppBrowserViewController.close()
is it because I am running ios 6.1 sdk?
The text was updated successfully, but these errors were encountered:
I found a workaround, not sure how to fix the original animations, but I inserted the code below in the void close function.
(void)close {
NSLog(@"--> CDVInAppBrowserViewController.close()...");
[CDVUserAgentUtil releaseLock:&_userAgentLockToken];
// OLD close actions if ([self respondsToSelector:@selector(presentiViewController)]) { [[self presentingViewController] dismissViewControllerAnimated:YES completion:nil]; } else { [[self parentViewController] dismissModalViewControllerAnimated:YES]; }
self.currentURL = nil;
if ((self.navigationDelegate != nil) && [self.navigationDelegate respondsToSelector:@selector(browserExit)]) { [self.navigationDelegate browserExit]; } [UIView beginAnimations:@"MoveView" context:nil]; [UIView setAnimationCurve:UIViewAnimationCurveEaseIn]; [UIView setAnimationDuration:0.5f]; self.view.frame = CGRectMake(self.view.frame.origin.x, self.view.frame.origin.y+800, self.view.frame.size.width, self.view.frame.size.height); [UIView commitAnimations];
}
Sorry, something went wrong.
No branches or pull requests
I cant seem to close the window, I see in the log I keep getting,
CDVInAppBrowserViewController.close()
is it because I am running ios 6.1 sdk?
The text was updated successfully, but these errors were encountered: