UITextField returns a key text change from Done to Publish,

I created an example application that has textField, and its return key type must be executed. I want to change the text from Done to Publish.

I really need to do this.

Please help me? Thanks in advance.

+5
source share
2 answers

now apple only supports this type:

typedef enum {
   UIReturnKeyDefault,//Set the text of the return key to "return".
   UIReturnKeyGo,//Set the text of the return key to "Go".
   UIReturnKeyGoogle,//Set the text of the return key to "Google".
   UIReturnKeyJoin,//Set the text of the return key to "Join".
   UIReturnKeyNext,//Set the text of the return key to "Next".
   UIReturnKeyRoute,//Set the text of the return key to "Route".
   UIReturnKeySearch,//Set the text of the return key to "Search".
   UIReturnKeySend,//Set the text of the return key to "Send".
   UIReturnKeyYahoo,//Set the text of the return key to "Yahoo".
   UIReturnKeyDone,//Set the text of the return key to "Done".
   UIReturnKeyEmergencyCall,//Set the text of the return key to "Emergency Call".
} UIReturnKeyType;

Perhaps you can use send instead.

+13
source

, . , , . ( , Apple, , / .

+1

All Articles