I am currently developing a PWA with Ionic Framework 5 React. I was wondering how the browser knows which OS (Material Design/iOS) theme it has to render? I know that there are CSS classes for Android
.md and iOS
With the Developer Tool, I can preview the app on Android and iOS devices. At which certain point does the browser know I’m watching the app on an Android or iOS device?
I’m just curious how that internally works. I did not find any documentation for that and appreciate any answers or sources to the doc.