I was wondering if Apple accepted that the UIAlertView be used as a custom view because I would like to add a UITextField to the UIAlertView or do they want UIAlertView only to be used to give users a warning/information.
Should I be using UIAlertView or create a custom view?
Some details about the view I want to create:
My view would have just like the UIAlertView a title, message, 2 buttons (1 to cancel and 1 to accept) and a textfield to enter an ip adress which would be returned.
If possible keep it to iOS 4.0 please 🙂
Take a look at the class-documentation:
http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIAlertView_Class/UIAlertView/UIAlertView.html
UIAlertView supports a text-field by default (take a look at textFieldAtIndex:).
So of course you can use it to get input from your users