Keep two MKMapViews showing the same region

前端 未结 3 934
情深已故
情深已故 2021-01-20 14:30

On my iPad app, I have 2 mapViews that are the same size displayed next to each other. I want these to always show the same area. I achieve this now using the regionDidCha

3条回答
  •  不要未来只要你来
    2021-01-20 14:36

    If you do not develop for the App store, you can use private API to synthesize touches.
    See http://cocoawithlove.com/2008/10/synthesizing-touch-event-on-iphone.html.

    You can intercept, duplicate and modify touch events by overriding [UIApplication sendEvent:]. I have not tested it should work, although you cannot submit for the App Store.

提交回复
热议问题