Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 9 Black keyboard broken layout

In iOS 9 if I show the camera with a keyboard showing, when I dismiss the camera controller and the keyboard comes back, the layout is broken like in the screenshot below.

Step to reproduce:

  1. Tap on a text field, so the keyboard will show
  2. Open a controller that uses the camera
  3. Dismiss camera controller
  4. When the keyboard comes back, it's broken

enter image description here

like image 796
Fry Avatar asked Oct 05 '15 12:10

Fry


Video Answer


2 Answers

The keyboard will not exhibit this behavior if you explicitly call

resignFirstResponder()

on your UITextField/UITextView before presenting the UIImagePickerController.

like image 171
Thor Frølich Avatar answered Oct 01 '22 04:10

Thor Frølich


I think it is a bug, cause I don't see similar behaviour in iOS < 9

like image 23
tereks Avatar answered Oct 02 '22 04:10

tereks