How do I load a new xib when my user taps on the popup bubble on an MkMapView?
I’ve tried scouring the internet, but can’t find a solution to this problem.
Many thanks in advance,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the
- (void)mapView:(MKMapView *)aMapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)controlmethod you should create a new VC with your xib and push it to the navigation controller or display it however you want.For example:
You can find a lot of tutorials how to create and display new Views, you should start scouring harder. 😉