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
  • 62,161
  • 12
  • 145
  • 186
sandy
  • 1,798
  • 3
  • 17
  • 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,234
  • 3
  • 32
  • 46
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,410
  • 1
  • 18
  • 34