Borders on iPhone plus are bigger than regular iPhones


#1

Hi there.

I have been testing my app on an iPhone 6s simulator, which has been working great. After several months of developing, I tried it on 7 plus, and the borders seems to be a biiiig difference.

What can I do to fix this?


#2

This seems to be an issue on iPhone X as well


#3

It’s solved. If someone would approach this problem, this is the solution:

Use StyleSheet.hairlineWidth as value. So it would be like:
borderWidth: StyleSheet.hairlineWidth

This looks great on iPhone X/iPhone 7 plus and also on iPHone 7.


closed #4

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