Bir harita kiti açıklama noktasında görünmesi için bir popover almaya çalışıyorum ama uipopovercontroller çağıran rect yöntemi kullanmak açıklama görünüm özelliklerinde bir rect bulamıyorum. biri uygun çerçeve buluyor Haritanın nasıl kiti ek açıklama verilirse?
Paul ise bilgi vermek için, burada benim girişimi: Zaten kullandık:
- (void)mapView:(MKMapView *)mapView2 annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control{
NSLog(@annotationView...);
MyGizmoClass *myGizmoClass= [MyGizmoClass sharedManager];
int choice = 0;
for (NSMutableDictionary *locationDictionary in [myGizmoClass searchResultsForResortLocation])
{
if([view.annotation.title isEqualToString:[locationDictionary objectForKey:@name]])
{
DetailViewTableStyleController *controller = [[DetailViewTableStyleController alloc] initWithlocationData:[[myGizmoClass searchResultsForResortLocation] objectAtIndex:choice] nibName:@DetailViewTableStyle bundle:[NSBundle mainBundle]];
controller.categoryCode = [locationDictionary objectForKey:@category_code] ;
//create a popover controller
popoverControllerDetail = [[UIPopoverController alloc] initWithContentViewController:controller];
// set contentsize
[popoverControllerDetail setPopoverContentSize:CGSizeMake(320,480)];
//present the popover view non-modal
[popoverControllerDetail presentPopoverFromRect:view.rightCalloutAccessoryView.frame inView:mapView2 permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
[controller release];
break;
}
choice = choice + 1;
}
}
Ve ... MapView kenarında sol üst bir popover olsun.
neden kimse bana söyleyebilir misiniz? Ben pim / annotationview yakın görünmesi için çalışıyorum.













