Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-16-2009, 07:18 AM   #25 (permalink)
nobre84
Registered Member
 
Join Date: Nov 2008
Posts: 862
nobre84 is on a distinguished road
Default

Quote:
Originally Posted by HoofSC View Post
Can anyone specify whether or not you can somehow grab the value of user input in TWO UITextFields added to the alertView (in Succession): ????

Code:
UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:@"Input New Values" message:@"Enter new values" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Record New Values", nil];
	
[myAlertView addTextFieldWithValue:nil label:@"<Value 1 Placeholder>"];
[myAlertView addTextFieldWithValue:nil label:@"<Value 2 Placeholder>"];

[[myAlertView textField] becomeFirstResponder];
[myAlertView show];
[myAlertView release];
Hi, grab each individual text field with [myAlertView textFieldAtIndex:0]
nobre84 is offline   Reply With Quote
 

» Advertisements
» Online Users: 513
14 members and 499 guests
AppleDev, blanix, blasterbr, Domele, G-Power, GarryTheGarlic, iphonerapp, Kryckter, linkmx, mafew, mediaspree, ncc1701e, OgreSwamp, rosalvadx91
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,548
Threads: 93,727
Posts: 401,266
Top Poster: BrianSlick (7,954)
Welcome to our newest member, rosalvadx91
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:10 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.