You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: We could remove this one again, after https://bugs.webkit.org/show_bug.cgi?id=294649 (mentioned in https://github.com/facebook/react/issues/33541) has been resolved.
165
+
isIOSSafari: (): boolean=>{
166
+
if(
167
+
typeofwindow==='undefined'||
168
+
typeofnavigator==='undefined'
169
+
)
170
+
returnfalse;
171
+
constua=navigator.userAgent;
172
+
// iOS detection
173
+
constisIOS=/iP(ad|hone|od)/.test(ua);
174
+
// Safari detection (not Chrome or Firefox on iOS)
// TODO: We could remove this one again, after https://bugs.webkit.org/show_bug.cgi?id=294649 (mentioned in https://github.com/facebook/react/issues/33541) has been resolved.
0 commit comments