MapKit Crash getting User Location

I started getting this crash – only on ad hoc builds – not sim, not debug device builds (from Xcode Organizer)… [code] Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x00003ec0 objc_msgSend + 24 1 MapKit 0x00032960 -[MKMapView(UserPositioningInternal) locationManagerUpdatedLocation:] + 1032 2 CoreFoundation 0x0005da0e -[NSObject performSelector:withObject:] Read more about MapKit Crash getting User Location[…]

Display a local/bundle image in UIWebView

I have local XML files I’m displaying in a UIWebView but I need to add images into the text to display. The images are local to the app so they’re in the bundle. [code] NSString *bundlePath = [[NSBundle mainBundle] bundlePath]; NSURL *bundlePathURL = [NSURL fileURLWithPath:bundlePath]; [super loadHTMLString:contents baseURL:bundlePathURL]; [/code] Then you can reference the images Read more about Display a local/bundle image in UIWebView[…]