danielamitay / DAKeyboardControl

DAKeyboardControl adds keyboard awareness and scrolling dismissal (ala iMessages app) to any view with only 1 line of code.
Other
1.58k stars 214 forks source link

Update DAKeyboardControl.m #102

Open hotdang-ca opened 8 years ago

hotdang-ca commented 8 years ago

Fixes an issue where we attempt to get self.keyboardActiveInput.inputAccessoryView, but the target doesn't respond to this request, resulting in a crash. Example case is presenting an MFMailComposeViewController. Can be recreated by creating a new application, integrating the project, presenting an MFMailComposeViewController; first launch will crash; subsequent launches have no effect.