I'm using Xcode 4.3.1 with Phonegap 1.4.1 to build an iPhone app. Whenever I tap the status bar to scroll to top, the app crashes with an EXC_BAD_ACCESS error.
I've tried implementing a number of suggestions such as this .
I've also tried adding variations of the below code:
[[[theWebView subviews] objectAtIndex:0] setScrollsToTop:NO];
((UIScrollView*)[theWebView.subviews objectAtIndex:0]).scrollsToTop = NO;
to the
- (void) webViewDidFinishLoad:(UIWebView*) theWebView
{
...
}
within the AppDelegate.m
However, I've have been unable to resolve the issue. My main concern is to stop the app form crashing, any insight would be greatly appreciated.