Vladislav Pokosenko
Vladislav Pokosenko

Reputation: 63

react native doesn't fill up window on ios (mobile)

My react-native project doesn't fill up the screen and everything looks "too big" only on IOS mobile version. (there are 2 black bars to the top and bottom of the content)

Any help would be great. Thanks!

The project was migrated to react-native: ^0.60.3,

 //App.tsx 
    render (<View style={{flex: 1}} />)

Result

Upvotes: 1

Views: 258

Answers (1)

Vladislav Pokosenko
Vladislav Pokosenko

Reputation: 63

In my case it was resolved by adding a launch screen file LauchScreen.storyboard. See this topic Click

Upvotes: 1

Related Questions