fnando / browser

Do some browser detection with Ruby. Includes ActionController integration.
MIT License
2.45k stars 361 forks source link

iPad detection #464

Closed aleksander-tatskiy closed 4 years ago

aleksander-tatskiy commented 4 years ago

Hi, could you fix iPad detection?

browser.device.ipad? is not working any more

For example, Safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15

fnando commented 4 years ago

iPads cannot be detected anymore. Please check https://github.com/fnando/browser/issues/404 for details. tl;dr: the user agent doesn't bring any information about iPad from iOS 13 onwards.

gregblass commented 4 years ago

Blame Apple. So ridiculous.