iPad 용 iOS6 전용 응용 프로그램에서 Google지도에 이상한 문제가 있습니다. 두 가지보기가 채워진 가로 스크롤보기를 만들었습니다. 하나는 세부 정보보기 (일부 텍스트, 특별한 것은 없음)이고 두 번째보기는 google지도가있는보기 컨트롤러입니다. 이것은 몇 가지 다른 목적을 위해 내 응용 프로그램의 두 가지 뷰에서 만든 scrollview 빌드의 보편적 인 구성표입니다. 이 문제는 iOS6이 설치된 실제 iPad에서 앱을 테스트하기 시작했을 때 발생합니다. 스크롤 뷰를 볼 때 응용 프로그램이 충돌합니다. 그러나 immediatly하지 않습니다. 시작시 스크롤보기가 제대로 보입니다. 그런 다음 새 데이터로 새로운 스크롤 뷰를 작성하려고합니다. 또한 괜찮아지고 스크롤보기가 제대로 보입니다. 있는 ScrollView, 추가 오류없이 응용 프로그램 충돌의 몇 가지를 실행 한 후에는응용 프로그램이 iOS6에서 MapKit 충돌이 발생했습니다.
failed to make complete framebuffer object 8cdd
:이 같은 더 많은 오류 로그를 receiveing에 시작했다고 같은 몇 가지 작업 후. 코드 편집기 main.m 파일에 지점 및 다음 줄
int retVal = UIApplicationMain(argc, argv, nil, nil);
내가 뭘 잘못 찾아 내게 직접하시기 바랍니다.
-(void)viewDidLoad {
mapView.mapType = MKMapTypeSatellite;
mapView.showsUserLocation = YES;
/* ANNOTATION (pin) */
CLLocationCoordinate2D annotationCoord;
annotationCoord.latitude = [self.restaurant.latitude doubleValue];
annotationCoord.longitude = [self.restaurant.longitude doubleValue];
// a pin with the info.
MKPointAnnotation *annotationPoint = [[MKPointAnnotation alloc] init];
annotationPoint.coordinate = annotationCoord;
annotationPoint.title = self.restaurant.name;
// add annotation to the map
[mapView performSelectorOnMainThread:@selector(addAnnotation:)
withObject:annotationPoint
waitUntilDone:YES];
[annotationPoint release];
MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance (annotationCoord, 500, 500);
[self.mapView setRegion:region animated:YES];
[super viewDidLoad];
}
내가보기에 구글지도 뷰 컨트롤러를 밀어 방법 없음 이잖아요 : 어디 구글 맵을보기위한 책임을 내보기 컨트롤러에서의 viewDidLoad 방법이다. 항상 내 응용 프로그램을 :(충돌 I`ve이 같은 시도 :.
[scrollView addSubview:self.googleMapViewController.view];
을하거나 :.
[[self navigationController] pushViewController:self.googleMapViewController animated:YES];
내가 시뮬레이터에서 응용 프로그램을 실행, 모든 권리는 난 모든 것을 there`s XCode 4.5.1을 사용하여.