New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS and Apps All your questions and discussion of iOS or iOS Apps.

To Store multiple value using one textField and PickerView


Post Reply New Thread Subscribe

 
Thread Tools
adriana

 
Member Since: May 02, 2009
Posts: 4
adriana is on a distinguished road

adriana is offline
Hi all,
i am facing a little problem,
i have a UITextField and a Picker View, to store multiple phone numbers,
there is picker which have three values (home, mobile, work)
and one textField is there,
how can i save the multiple phone number of textField one by one.
One thing more i have to use NUMPAD type keyboard (UIKeyboardTypeNumberPad) in which DONE button is not there, So i can not use
- (BOOL)textFieldShouldReturnUITextField *)textField
method to store TextField Value in any varialbe.

can any one help me.....???????
QUOTE Thanks
ybother

 
Member Since: Jun 02, 2009
Posts: 5
ybother is an unknown at this point

ybother is offline
hmm..i dun really understand you question.

How i would do it is by saving the number everytime UITextfield is changed.

On change, check to see the UIPicker selected index. then according to the selected index, save the number as (home/work/fax)
QUOTE Thanks

Post Reply New Thread Subscribe


« iPhone 3.0 software | UITextField in each cell of UITableView »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 10:06 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?