내가 myannotation 클래스 정의의 문자열로 beepid 추가하고이 휴식입니다 :annotaion을 선택하고 특정 세부 정보 페이지로 ID를 전달하는 방법은 무엇입니까?
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
{
DLog(@"calloutAccessoryControlTapped");
/// detail page opening but beeid not passing
MyAnnotation *myAnnot = (MyAnnotation *)view.annotation;
BeepsDetail *objCont = [[BeepsDetail alloc] initWithNibName:@"BeepsDetail" bundle:nil];
objCont.mId = myAnnot.beepid;
objCont.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController: objCont animated: YES];
//[paramDic setValue:[mObject.mDic objectForKey:@"beepid"] forKey:@"beepid"];
[objCont release];
}
오류는 NSMutableDictionary * dic = [placeName objectAtIndex : MKAnnotationView.annotion]에 있습니다. 주석을 달려면 – IphoneBites