On iOS on the Internet, I would like to discover from Javascript whether the device is connected via 3G or Wi-Fi?
On Android, this information is available through navigator.connection.type . Is this information available on iOS (iPad / iPhone)?
navigator.connection.type
See How do you detect a 3G connection against Wi-Fi on a mobile safari?
You can not. iOS does not support this natively. To do this, you need to use a framework such as PhoneGap.
You can call the IOS source code from javascript, which is looking for connectivity in the API API, and return the value in Javascript ..
Source: https://habr.com/ru/post/908820/More articles:Are Win32 GDI BitBlt and StretchBlt Improved? - winapiWhat PID is listening on this data port - macosWhat is the point of using Java generics? - javareturn value in vfork () system call - chttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/908819/maven-project-cannot-locate-dependencies-in-local-repository&usg=ALkJrhhzaOILZUm0US0agBp9d25PK-r-EQThe correct way to connect and query a SQL Server Express database is c #Xcode 4.3 Command Line Tool with Invalid Checksum - xcodehow can i make my buttons big - androidWhat is the best way to transcode video to objective-c (iOS)? - objective-cSetting AVMutableComposition frameDuration - iosAll Articles