1
我的應用程序再次變爲活動狀態時出現錯誤。它從背景返回。未捕獲的異常: - [WebDataSource onGeomagneticModel:]:無法識別的選擇器
我猜測我的陀螺儀,但還沒有找到解決方案。
我的錯誤:
-[WebDataSource onGeomagneticModel:]: unrecognized selector sent to instance 0x37c430
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[WebDataSource onGeomagneticModel:]: unrecognized selector sent to instance 0x37c430'
我applicationDidEnterBackground:
- (void)applicationDidEnterBackground:(UIApplication *)application{
NSLog(@"Application moving to background");
LocationManagerDelegate *locationController = [[LocationManagerDelegate alloc] init];
[locationController.locationManager stopUpdatingHeading];
[locationController stopDeviceMotion];
}
Doh,我很着急解決其他問題,我沒有看到...謝謝 – Lohardt 2012-04-13 10:57:12