Resign keyboard of textfield present in alertview
问题 I have three text fields on an alertview, I set keyboard as decimalType , - (IBAction)heightMethod:(id)sender { self.utextfield = [[UITextField alloc] initWithFrame:CGRectMake(12.0, 45.0, 260.0, 25.0)]; utextfield.placeholder = @" Centimeters"; self.utextfield.delegate=self; self.utextfield.tag=3; [ self.utextfield setBackgroundColor:[UIColor whiteColor]]; [self.alertHeight addSubview: self.utextfield]; // Adds a password Field self.ptextfield = [[UITextField alloc] initWithFrame:CGRectMake