Tapping om MKAnnotationView should show my custom view
NickName:Slavcho Ask DateTime:2015-06-24T15:56:37

Tapping om MKAnnotationView should show my custom view

Tapping on MKAnnotationView shouldn't show the callout view, instead it should show my custom view covering 3/4 of the iPhone's screen. I'm hiding the native callout view by canShowCalloutView = NO, but how to detect tap on that MKAnnotationView and then present my custom pop-up view? I guess i should implement didSelectAnnotationView and then show my custom view?

Copyright Notice:Content Author:「Slavcho」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/31020882/tapping-om-mkannotationview-should-show-my-custom-view

More about “Tapping om MKAnnotationView should show my custom view” related questions

Tapping om MKAnnotationView should show my custom view

Tapping on MKAnnotationView shouldn't show the callout view, instead it should show my custom view covering 3/4 of the iPhone's screen. I'm hiding the native callout view by canShowCalloutView = NO...

Show Detail

Custom Callout on MKAnnotationView

I wish to show a completely custom callout view on top of the MKAnnotationView when tapped. I have stumbled through a few answers but none of them have worked and I have seen it in a few apps so I ...

Show Detail

MKAnnotationView with custom view and image view

In my Map application, instead of showing a pin, I want to show a colored background circle with image in it. The color of the background (which is shade of green in below image) circle is dynamic....

Show Detail

MKMapKit regionDidChangeAnimated stops after tapping custom callout

I'm implementing a custom MKAnnotationView callout with the code explained here (Jacob's one), which actually places another Custom AnnotationView as the Annotation is selected: MKAnnotationView ...

Show Detail

Custom MKAnnotationView intermittently recognize touch

I have a custom MKAnnotationView that I am loading from an XIB. When I first load the mapview, I have several standard MKAnnotationView. When a user selects one, the custom MKAnnotationView is

Show Detail

How to make clickable Custom MKAnnotationView without the callout view

I want to create a custom MKAnnotationView like below After click on Custom MKAnnotationView, want to navigate to detail view. I have created this custom view, but not able to click on this view....

Show Detail

MKMapView select and deselect custom MKAnnotationView IOS

Im using a Custom MKAnnotationView - (void)plotAnnotationsOnMap { for (id<MKAnnotation> annotation in locationPickerView.mapView.annotations) { [locationPickerView.mapView

Show Detail

Custom View Xib for MKAnnotationView button tap

I'm making a custom MKAnnotationView and i have a button inside the xib, inwhich i want to get when is touchedup inside. Although there are questions with the same issue, none of them is working w...

Show Detail

Custom MKAnnotationView button is not work (swift)

I have problem like this - unsolved problem. My custom Annotation View button is not work when I click. My code: var confirm: MKAnnotationView = MKAnnotationView() func mapView(mapView: MKMapView,

Show Detail

How to make an MKAnnotationView callout with a custom button tappable?

I am trying to mimic the behavior of the MKMapView callouts in Apple's stock Maps app. Here's what I have so far: I understand that when you add Apple's UIButtonTypeDetailDisclosure as an accessory

Show Detail