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 08-19-2008, 03:13 PM   #1 (permalink)
myersn024
Tutorial Author
 
Join Date: May 2008
Posts: 315
myersn024 is an unknown quantity at this point
Default New info on adding text fields to alerts

I was playing around with class-dump last night and I decided to dump the UIKit framework to see what goodies were in there that Apple wasn't telling us about. As it turns out (and it probably comes as no surprise) UIAlertViews have methods for adding text fields to their views without going through all the fuss that I made using transforms and such. I don't remember the methods right off the top of my head, but they're there and they work rather well. I don't know if Apple checks for this kind of stuff when checking apps for the AppStore, but I don't see why it would be that big of a deal since we aren't linking against any of the private frameworks.

As a side note, the UIGlassButtons are still referenced in the framework and with the proper header they can still be used in the simulator. However, the linker gives an error when trying to compile for the iPhoneOS saying that the object isn't found. It would be cool if we could get those back.

Anyway, if anyone wants the methods for adding text fields to their alert views, I can post them when I get home.
myersn024 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,374
Threads: 93,998
Posts: 402,449
Top Poster: BrianSlick (7,978)
Welcome to our newest member, FredMcCord
Powered by vBadvanced CMPS v3.1.0

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