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.
|