Re: Moving a textField from under keyboard
Re: Moving a textField from under keyboard
- Subject: Re: Moving a textField from under keyboard
- From: Diederik Meijer | Ten Horses <email@hidden>
- Date: Sat, 29 Jun 2013 08:11:14 +0200
One way is to animate the UiTextField upwards in the didBeginEditing delegation method and down again in the shouldReturn.
Verstuurd vanaf mijn iPhone
Op 29 jun. 2013 om 00:44 heeft Julius Oklamcak <email@hidden> het volgende geschreven:
>> I'm looking for "something" OR some method that knows how to change (I
> think) the position (I think) of the view containing a UITextField so the
> TextField is visible after a keyboard comes up and covers it. Then the view
> goes back to normal position once the keyboard is dismissed.
>>
>> Is there an inspector attribute for that?
>>
>> Is this a delegation thing?
>
> Have a read through the "Managing the Keyboard" section in the "Text, Web,
> and Editing Programming Guide for iOS".
>
> http://developer.apple.com/library/ios/#documentation/StringsTextFonts/Conce
> ptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden