in my application i was using UIAlertView for login, it contains TextFields, its working perfectly, but i\'m getting a warning when i compile the code, i\'m using iphone SDK
You can use http://github.com/enormego/EGOTextFieldAlertView. It gives you those private methods, in a subclass of UIAlertView. This way you don't have to change your code at all.