Domanda

I have links that go to Google Maps, but now since Apple updated to their own service my iPhone goes to the Google Maps website. Is there a way in HTML to show the Apple Maps link, when it's iOS6, and show the Google Maps link for all other devices. I am using ASP.NET MVC.

È stato utile?

Soluzione

The solution is even easier than that and won't require any conditional statements:

So at this point, all you need to do is include the Apple Maps link and it should work as expected on non-iOS devices.



I mentioned this in a recent post that also touches on whether the same parameters can be used.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top