0

The pic itself is describing the issue. I have a UIView and a Nav bar and a UIScrollview nested inside it. When the Keyboard comes up to enter text, the UI scrolls behind the navigation bar (which is good) but then you see the UI at the top of the screen overlapping the status bar. How do i get it to be not visible beyond the navigation bar? Thanks. I am using Swift 2.x

enter image description here

Ishika
  • 2,187
  • 1
  • 17
  • 30
NetCod
  • 191
  • 1
  • 2
  • 12

1 Answers1

0

Instead of you using navigation bar,you can also use UIView and place a UILabel for heading and UIButton for back button. In that very case your UIView that will act as custom header and scroll up with your scrollable view. Also in Navigation bar, mark status bar as None from storyboard.

Ishika
  • 2,187
  • 1
  • 17
  • 30