I am using phonegap version 2.2.0 and have installed ChildBrowser plugin code to XCode project, plugin loads fine with no problem. When navigating to a static html page in the main view which has bunch of
I was looking at the close button event code \Plugins\ChildBrowserViewController.m
- (void)closeBrowser
{
if (self.delegate != nil) {
[self.delegate onClose];
}
if ([self respondsToSelector:@selector(presentingViewController)]) {
// Reference UIViewController.h Line:179 for update to iOS 5 difference - @RandyMcMillan
[[self presentingViewController] dismissViewControllerAnimated:YES completion:nil];
} else {
[[self parentViewController] dismissModalViewControllerAnimated:YES];
[[self parentViewController] reloadInputViews];
}
}