Adjusting PixelRatio in React Native Manually

I have developed an according to my phone. But on other phones, due to different PixelRatio, it seems radically different.

I know we can only get the PixelRatio of a particular device but is there any way to set/adjust it?

You can use a library like react-native-size-matters to deal with different PixelRatios.

2 Likes

Thanks, Kim.

I see they also have a useful blog post: Size Matters

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.