I have created a signup form with a UIAlertController and used the method addTextFieldWithConfigurationHandler to add a text field. But there is a litt
UIAlertController
addTextFieldWithConfigurationHandler
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { [self.view endEditing:YES]; // or you can write [yourtextfield refignFirstResponder] [alertView dismissWithClickedButtonIndex:buttonIndex animated:TRUE]; }