iphone - Keyboard notifications after modal dialog -


i have uitableviewcontroller rows containing textfields, , other rows show modal view. register uikeyboardwillshownotification , uikeyboardwillhidenotification in viewwillappear, , unregister in viewwilldisappear.

next this: - click on textfield. uikeyboardwillshownotification, resize table have place keyboard. - select row presents modal view controller, receive uikeyboardwillhidenotification, , viewwilldisappear called. - after closing modal view controller, viewwillappear called, , uikeyboardwillshownotification. no keyboard shown. table resized, no keyboard appears.

is bug in sdk? or common behavior , i'm missing something?

your logic seams correct me. wonder possible problem registering uikeyboardwillhidenotification every time viewwillappear. try register once in viewdidload , unsubscribe in dealloc. thinking maybe when register again after dismiss modal view notification center sends old notification. if register once notification not more posted.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -