tags:

views:

30

answers:

0

Hello All,

I am facing one design issue and following is details regarding same.

I have added one controller over popover and that controller have a textbox in it. I have handled delegates regarding the keyboard i.e

UIKeyboardDidShowNotification & UIKeyboardWillHideNotification

Which gives me a notification regarding layout of the view when Keyboard is made on/off.

now this case fails in this scenario

  1. Activate the popover in portrait mode and select this controller and select the textbox and keep the keyboard on.
  2. Switch to some other view + keyboard is made OFF as we lose the focus of previous view.
  3. now the new view comes with height [ Actual height - keyboard height ] and gives a blue patch at the bottom.

Can you guys please help me how to handle this scenario in proper way.

Thanks,

Sagar