Update MyPluginLayer.m
Avoid creating instance in a loop as much as possible.
MODIFY
src/ios/GoogleMaps/MyPluginLayer.m
src/ios/GoogleMaps/MyPluginLayer.m
// e.g. PhoneGap-Plugin-ListPicker, etc
UIView *subview;
NSArray *subviews = [self.webView.superview subviews];
+ CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame;
+ CGPoint subviewPoint = CGPointMake(browserClickPoint.x, browserClickPoint.y - statusBarFrame.size.height);
for (int i = ((int)[subviews count] - 1); i >= 0; i--) {
subview = [subviews objectAtIndex: i];
//NSLog(@"--->subview[%d] = %@", i, subview);
continue;
}
- CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame;
- CGPoint subviewPoint = CGPointMake(browserClickPoint.x, browserClickPoint.y - statusBarFrame.size.height);
UIView *hit = [subview hitTest:subviewPoint withEvent:event];
if (hit) {

Update MyPluginLayer.m

Avoid creating instance in a loop as much as possible.