FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TEXTFIELD: how to use keyborad and objective c textfield

2 posters

Go down

TEXTFIELD: how to use keyborad and objective c textfield Empty TEXTFIELD: how to use keyborad and objective c textfield

Post  skeggialungo Mon Jun 15, 2009 6:12 am

Hi, i am trying to develop a logic online game and i have great problem with textfield: i have read that if i want use iphone keyboard i must use UITextfield or uiTextview but i do not understand how to use it in the same sio2 project. i have a menu window and with my widget i go into the 1player game or 2 player game, simply using sio2widget:
- 1 player for the match with computer
- 2 players for a match with a friend
- credits
- network player for an online match
- continue that appear if a match is in pause

for changing "window" i change the widget. in network mode i must ask to player the login name and password in sio2 there are not a textfield component so i must use uitextfield but how can i use it in this case?
thanks for any help!
daniele

skeggialungo

Posts : 9
Join date : 2009-03-13

Back to top Go down

TEXTFIELD: how to use keyborad and objective c textfield Empty Re: TEXTFIELD: how to use keyborad and objective c textfield

Post  sio2interactive Mon Jun 15, 2009 6:17 am

Just simply create your own textfield based on a combination of SIO2widget & SIO2font, simply get the focus of the widget, pop the keyboard and redirect the keyboard input to a string attached to your textfield struct...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum