I have a question regarding mapview annotations in ios. Is it possible to make an image popup by clicking on the annotation pin? If I use these?:
- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view
{
NSLog( @"selected annotation view" );
[pictureView setImage:[UIImage imageNamed:@"clubs.png"]];
}
- (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view
{
NSLog( @"deselected annotation view" );
[pictureView setImage:[UIImage imageNamed:@"beer.png"]];
}
I have tried setting image, but the imageview doesnt display the image..? thanks in advance