title: Swift - Presenting multiple alerts at the same time
body: <p>I am making an app and want to create a custom alert. I have found the following way to do it:</p>
  
  <ol>
  <li>Create a view controller in story board and set its identifier.</li>
  <li>Set its background to clear. </li>
  <li>Create a view in it and set all the buttons and labels. </li>
  <li><p>Call it from the other controller like this:</p>
  
  <pre><code>let alertViewController = self.storyboard.instantiateViewControllerWithIdentifier("alertViewController") as! AlertViewController
  
  self.presentViewController(alertViewController, animated: true, completion: nil)
  </code></pre></li>
  </ol>
  
  <p>But what I want to do is, presenting multiple alerts simultaneously like this: </p>
  
  <p><a href="https://i.stack.imgur.com/9DPR9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9DPR9.png" alt="enter image description here"></a></p>
  
  <p>I searched for this but only found ways in which second alert will be displayed when first alert is responded, but not at the same time. 
  How can I achieve what is shown in the attached image? </p>