iphone-sdk: Adding a textfield to UIAlertview does not work in iOS 4?

前端 未结 5 1178
无人及你
无人及你 2020-12-19 12:40

I am trying to add uitextfield to my alterview. When the user tries to enter text the alterview is supposed to shift up a little bit s

5条回答
  •  伪装坚强ぢ
    2020-12-19 13:15

    I have no clue (yet) regarding the positioning of the alert, but you might try sending resignFirstResponder in your textFieldShouldReturn implementation to the alertView.

    Also, that should make the keyboard disappear (even if I do not know exactly why).

提交回复
热议问题