Current Location doesn't work with Apple Maps IOS 6

前端 未结 4 1847
太阳男子
太阳男子 2020-12-17 16:50

Before IOS 6, I was using this URL scheme to open the native maps app and find directions from the users current location to an address that I created.

<
4条回答
  •  难免孤独
    2020-12-17 17:46

    I am having the same problem. I haven't found a solution yet but if you leave off the saddr

    http://maps.apple.com/maps?daddr=" + address
    

    it will just ask them where to start and the first option is "Current Location" so when they click "Current Location" it will show the map correctly.

    If anyone finds a better solution please post it as I am still looking for a better solution.

提交回复
热议问题