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

addKeyboardNonpanningWithActionHandler doesn't animate the block #20

Closed kylef closed 11 years ago

kylef commented 11 years ago

From the readme:

[self.view addKeyboardNonpanningWithActionHandler:^(CGRect keyboardFrameInView) {
    // Move interface objects accordingly
    // Animation block is handled for you
}];

This is no longer the case in master. The "action handler" is now set as the keyboardDidCompleteBlock which is only ever run on completion of the UIView animation. The keyboardDidMoveBlock is nil in this case.

kylef commented 11 years ago

This was introduced in 43abdaf01425dce40898e7c5fb635b0493dc2eeb *

danielamitay commented 11 years ago

Reverted commit.