I need to show different links (regular url or iOS Custom URL Sc开发者_JS百科heme) in our email depending on if its being read on an android or iOS device. The workaround is to have a redirect link to figure it out by opening the browser and looking at the User Agent server side, but I'm trying to avoid that to have better user experience.
You can hack it a little by using CSS media queries. Consider that 90%+ of Android phones can be described with two different screen geometries, then maybe you can get a query that works most of the time.
精彩评论