开发者

MkMapView don't respond on touch event when panning and zooming?

开发者 https://www.devze.com 2023-01-19 05:53 出处:网络
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.

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消