Open EdmondWang opened 4 years ago
It seems that the useragent string is the same for iPadOS and Mac OS, so there's no way to check which is which by using the useragent alone.
Please see here: https://developer.apple.com/forums/thread/119186
I'll keep the issue open until there's a solution just that we don't forget it
Target Device:
XCode Simulator: IOS 13.3 - Ipad (7th generation) IOS 13.3 - Ipad Pro (11 -inch)
Code Snippet:
Actual Result
desktop
Expected Result
tablet