1

I used AMScrollingNavbar, and customize it, it works perfectly on all devices but behave differently in iPhone X.

enter image description here

AyAz
  • 2,027
  • 2
  • 21
  • 28

1 Answers1

0

Add a LaunchImage Image of size 1125px × 2436px in Portrait Mode & 2436px × 1125px in Landscape Mode in Assets.

It will fix the issue of Black Area, while it will create a gap of 20 pixels, which you fix by setting Constraints.

Reference

https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/launch-screen/

Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154