tags:

views:

32

answers:

2

I have view controller that has mkMapview, buttons and another UiView on top of the Map. The map don't respond on touches event. How can I make mapView to respond on touch events.

Thanks in advance.

A: 

Try :

yourView.userInteractionEnabled = YES;
MathieuF
It is enabled. UiView respond to touch events but Mapview don't respond because is underneath the view.
Ilija
Can you post some code plz ?
MathieuF
A: 

Use

- (void)bringSubviewToFront:(UIView *)view

or disable userInteraction on your UIView

Sander Backus
Thanks, disabling the uiview and everything works!!!
Ilija