Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation
- UIButton *btn = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
- [btn addTarget:self action:@selector(pinTouched:) forControlEvents:UIControlEventTouchUpInside];
- -(void)pinTouched:(UIButton *)sender
- {
- myView.transform = CGAffineTransformMakeScale(.01, .01);
- [self.view addSubview:myView];
- }
Add Comment
Please, Sign In to add comment