samedi 29 novembre 2014

UITextView inputAccessoryView overlaps top of keyboard in iOS 8

I have a pretty vanilla inputAccessoryView toolbar for some UITextView fields. Previous, Next, and Done buttons. I put them in a UIViewController class, and I assigned them to the UITextFields like this:



self.outPlayerOneTextField.inputAccessoryView = myAccessoryVc.view;


This worked great in iOS 7. With iOS 8, it now overlaps the top of the keyboard, like so:


accessory toolbar overlapping top of keyboard in ios8


Any pointers on what changed? Or perhaps wrapping it in a view controller wasn't a good thing to do?




Aucun commentaire:

Enregistrer un commentaire