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,095
  • 13
  • 148
  • 192
sandy
  • 1,868
  • 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,324
  • 3
  • 33
  • 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,450
  • 1
  • 19
  • 35