I have v开发者_StackOverflow中文版iew 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.
Use
- (void)bringSubviewToFront:(UIView *)view
or disable userInteraction on your UIView
Try :
yourView.userInteractionEnabled = YES;
精彩评论