@@ -55,30 +55,30 @@ - (void)addKeyboardControl:(BOOL)panning actionHandler:(DAKeyboardDidMoveBlock)a
55
55
56
56
// Register for keyboard notifications
57
57
[[NSNotificationCenter defaultCenter ] addObserver: self
58
- selector: @selector (keyboardWillShow : )
58
+ selector: @selector (inputKeyboardWillShow : )
59
59
name: UIKeyboardWillShowNotification
60
60
object: nil ];
61
61
[[NSNotificationCenter defaultCenter ] addObserver: self
62
- selector: @selector (keyboardDidShow : )
62
+ selector: @selector (inputKeyboardDidShow : )
63
63
name: UIKeyboardDidShowNotification
64
64
object: nil ];
65
65
66
66
// For the sake of 4.X compatibility
67
67
[[NSNotificationCenter defaultCenter ] addObserver: self
68
- selector: @selector (keyboardWillChangeFrame : )
68
+ selector: @selector (inputKeyboardWillChangeFrame : )
69
69
name: @" UIKeyboardWillChangeFrameNotification"
70
70
object: nil ];
71
71
[[NSNotificationCenter defaultCenter ] addObserver: self
72
- selector: @selector (keyboardDidChangeFrame : )
72
+ selector: @selector (inputKeyboardDidChangeFrame : )
73
73
name: @" UIKeyboardDidChangeFrameNotification"
74
74
object: nil ];
75
75
76
76
[[NSNotificationCenter defaultCenter ] addObserver: self
77
- selector: @selector (keyboardWillHide : )
77
+ selector: @selector (inputKeyboardWillHide : )
78
78
name: UIKeyboardWillHideNotification
79
79
object: nil ];
80
80
[[NSNotificationCenter defaultCenter ] addObserver: self
81
- selector: @selector (keyboardDidHide : )
81
+ selector: @selector (inputKeyboardDidHide : )
82
82
name: UIKeyboardDidHideNotification
83
83
object: nil ];
84
84
@@ -172,7 +172,7 @@ - (void)responderDidBecomeActive:(NSNotification *)notification
172
172
173
173
#pragma mark - Keyboard Notifications
174
174
175
- - (void )keyboardWillShow : (NSNotification *)notification
175
+ - (void )inputKeyboardWillShow : (NSNotification *)notification
176
176
{
177
177
CGRect keyboardEndFrameWindow;
178
178
[[notification.userInfo valueForKey: UIKeyboardFrameEndUserInfoKey] getValue: &keyboardEndFrameWindow];
@@ -198,7 +198,7 @@ - (void)keyboardWillShow:(NSNotification *)notification
198
198
}];
199
199
}
200
200
201
- - (void )keyboardDidShow : (NSNotification *)notification
201
+ - (void )inputKeyboardDidShow : (NSNotification *)notification
202
202
{
203
203
// Grab the keyboard view
204
204
self.keyboardActiveView = self.keyboardActiveInput .inputAccessoryView .superview ;
@@ -212,7 +212,7 @@ - (void)keyboardDidShow:(NSNotification *)notification
212
212
}
213
213
}
214
214
215
- - (void )keyboardWillChangeFrame : (NSNotification *)notification
215
+ - (void )inputKeyboardWillChangeFrame : (NSNotification *)notification
216
216
{
217
217
CGRect keyboardEndFrameWindow;
218
218
[[notification.userInfo valueForKey: UIKeyboardFrameEndUserInfoKey] getValue: &keyboardEndFrameWindow];
@@ -236,12 +236,12 @@ - (void)keyboardWillChangeFrame:(NSNotification *)notification
236
236
}];
237
237
}
238
238
239
- - (void )keyboardDidChangeFrame : (NSNotification *)notification
239
+ - (void )inputKeyboardDidChangeFrame : (NSNotification *)notification
240
240
{
241
241
// Nothing to see here
242
242
}
243
243
244
- - (void )keyboardWillHide : (NSNotification *)notification
244
+ - (void )inputKeyboardWillHide : (NSNotification *)notification
245
245
{
246
246
CGRect keyboardEndFrameWindow;
247
247
[[notification.userInfo valueForKey: UIKeyboardFrameEndUserInfoKey] getValue: &keyboardEndFrameWindow];
@@ -265,7 +265,7 @@ - (void)keyboardWillHide:(NSNotification *)notification
265
265
}];
266
266
}
267
267
268
- - (void )keyboardDidHide : (NSNotification *)notification
268
+ - (void )inputKeyboardDidHide : (NSNotification *)notification
269
269
{
270
270
self.keyboardActiveView .hidden = NO ;
271
271
self.keyboardActiveView .userInteractionEnabled = YES ;
0 commit comments