title: How to dismiss all keyboards of multiple text fields?
body: <p>I have three text fields in one view controller and when i do the method to dismiss the keyboard for all three text fields, the view controller doesn't come out.</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      self.namesuite.delegate = self;
      self.createpassword.delegate = self;
      self.createname.delegate = self;
      // Do any additional setup after loading the view.
  }
  </code></pre>
  
  <p>I also have the <code>textFieldShouldReturn</code> function.</p>
  
  <pre><code>-(BOOL)textFieldShouldReturn:(UITextField *)textField
  {
      [textField resignFirstResponder];
      return YES;
  }
  </code></pre>
  
  <p>This is my button function to send me to the view controller that has the text fields.</p>
  
  <pre><code>- (IBAction)createaccount:(id)sender
  {
      [self performSegueWithIdentifier:@"thirdsegue" sender:sender];
  }
  </code></pre>