我键盘上得到两倍的通知下来,一次在键盘的上...键盘通知和presentModalViewController
在我的课,我把通知键盘:
做键盘上滑动框调整。在班主任工作中后来
我用'ABPeoplePickerNavigationController'
来选择地址。
…
ABPeoplePickerNavigationController *userPicker=[[ABPeoplePickerNavigationController alloc] init];
…
[viewController presentModalViewController:userPicker animated:YES];
…
我发现,在我‘presentModalViewController’
获得两倍‘UIKeyboardWillHideNotification’
,但一旦‘UIKeyboardWillShowNotification’
- 当选择器熄灭。
很奇怪。
我试图从类初始化删除观察员‘UIKeyboardWillHideNotification’
(找到任何双观察员声明)。但是,在此之后根本不删除‘UIKeyboardWillHideNotification’
通知。
为什么我在键盘上得到不同数量的通知?
可能是我做错了什么?
谢谢。