Re:Apple WWDC20
by aspenmayer on Friday June 12, 2020 @09:39PM
(#23505899)
I think Safari natively supports the functionality that the apps provide in-browser.
[ Parent
| on HN ]
So why build an app? iOS/iPadOS users have Safari too.
Re:Apple WWDC20
by aspenmayer on Friday June 12, 2020 @09:54PM
(#23506013)
Short answer: iOS Safari isn’t macOS Safari. Not sure if a more recent document like this exists to explain differences between the two.
https://developer.apple.com/library/archive/technotes/tn2010...
That document is definitely very out of date, I don’t think any of it is even relevant any more. The unsupported features listed were implemented a long time ago. Safari does handle mouse events (e.g. hover) as best as those concepts translate to a touch platform.
On iPadOS 13 it actually goes as far as pretending to be a Mac. Developers have resorted to using hacky client-side detection such as checking for touch support to determine if they’re on an actual Mac, or an iPad pretending to be a Mac. (https://stackoverflow.com/a/58064750)
Pretty much they don’t want you to treat iPad as a big iPhone, but if they can pull that off with iPad, it implies both iPad and iPhone Safari is a desktop-class browser with almost complete feature parity.