Search code examples
ioskeyboardlandscape

Keyboard stuck in portrait IOS


I have 2 UIViewControllers A and B.I am presenting B to look like a dialog with UITextField and button.

When I click on the UITextField the keyboard shows always in portrait mode.

How I can fix it so show the keyboard in landscape as well?

enter image description here


Solution

  • I fixed it by changing the presentation to Over Full Screen

    enter image description here