Platform
Platform detection for the few places that must branch on the host OS rather than the viewport. The viewport-based checks live in shared/hooks/useMediaQuery.
Functions¶
isIOS()¶
Defined in: src/shared/platform.ts:13
Detects iOS (iPhone, iPad, iPod), including iPadOS 13+, which reports a desktop Safari user agent and is only distinguishable by touch support.
Returns¶
boolean
True on an iOS or iPadOS device.