Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48977

How does the browser know which theme (MD/iOS) to render?

$
0
0

Hello,

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 .ios devices.

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.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>