I need to add a TextField to an UIAlertView. I understand that apple discourage this approach. So is there any library that i could make use of to add
TextField
UIAlertView
As of iOS 8 UIAlertView has been deprecated in favor of UIAlertController, which adds support for adding UITextFields using the method:
UITextField
- (void)addTextFieldWithConfigurationHandler:(void (^)(UITextField *textField))configurationHandler;
See this answer for an example.