0

I have a problem: I can move my view when I click on a text field, but I want my view to move when the keyboard hides the text field. I'm using a table view and the text fields are in different cells. Please someone help me.

jscs
  • 63,694
  • 13
  • 151
  • 195
sandy
  • 1,908
  • 3
  • 19
  • 23
  • I'm guessing you mean moving your view so your textfield stays visible, when your keyboard pops up and slides over your textfield? In that case, check out http://stackoverflow.com/questions/1126726/how-to-make-a-uitextfield-move-up-when-keyboard-is-present – Joetjah May 12 '11 at 11:32

2 Answers2

1

Can you please add the UIKeyboardWillHideNotification as per the tutorial here

PgmFreek
  • 6,374
  • 3
  • 36
  • 47
0

have you registered to receive notifications of UIKeyboadWillShowNotification, and UIKeyboardWillHideNotification.... then your chosen selector can chose wether or not to move the view etc.

theiOSDude
  • 1,480
  • 2
  • 21
  • 36