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

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

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-19-2008, 01:07 PM   #9 (permalink)
turbolag
New Member
 
Join Date: Jul 2008
Posts: 32
turbolag is on a distinguished road
Default

Great work!

I've tried to catch the returning value, but the delegate method doesnt get called.
Quote:
I was able to get the return key to work as follows:
Add the UITextFieldDelegate protocol to your controller.
Set the delegate of the UIAlertView's text field to self.
Add the following function:
1. UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate>
2. [[myAlert textField] delegate:self]; ???
3. I added the function

I am sure that Im not setting the delegate correctly. In the debugger, I dont see a delegate item for the textField.
turbolag is offline   Reply With Quote
 

» Advertisements
» Online Users: 415
17 members and 398 guests
Chickenrig, daniljan, dansparrow, darrenshain, ephefei, EvilElf, hrushikeshaddon, iconomania, ipodphone, jimmyon122, JmayLive, larhondaxzcw, linkmx, Mnadeep, SamorodovAlex, tomtom100, zhaoningmei
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,588
Threads: 94,083
Posts: 402,775
Top Poster: BrianSlick (7,990)
Welcome to our newest member, daniljan
Powered by vBadvanced CMPS v3.1.0

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