MkMapView drop a pin on touch

后端 未结 2 1551
一个人的身影
一个人的身影 2021-02-07 16:16

I am struggling to unearth a standard way to drop a pin on a MkMapView based on a touch input. There probably isnt a standard way, but it is always worth asking. If I have to im

2条回答
  •  盖世英雄少女心
    2021-02-07 16:59

    I know that the Maps app has a separate button (under the curl of the map) that drops a pin. Hence that is kind of how I do it (though not under the map curl). I have not read anywhere that there is a standard but I have not read all 12,000 GB of documentation (ha ha). I would say to check out some of the "standard" apps like Maps and follow what they do just to be consistent. I know that typically a double tap zooms the map so I'm not sure that I would use that. Just my $0.02...

提交回复
热议问题