How to fix different layout with ios and android?


#1

Hi guys, why I have different layouts between ios and android? how can I fix it? Can you help me to understand?!


#2

Hey there, welcome to the community!

Sometimes you’ll encounter platform differences in how your app renders, especially when it comes to OS-specific components like the status bar or splash screen. Different size screens with different pixel densities can also make a difference.

If your issue is with the Status Bar in particular, I recommend checking out the React Native StatusBar docs, or if you’re using a navigation library, I recommend reading their docs to see if they make any mention of the behavior you’re observing.

You can always write platform specific code if you need to make a detailed fix on only certain devices.


closed #3

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