title: UIAlertViewController of type action sheet with dynamic list of buttons
body: <p>As <code>UIAlertView</code> and <code>UIActionsheet</code> is deprecated from iOS 8.So it is advised not to use both of these two classes.With old action sheet method I could able to add tabs dynamically with the help of for loop.</p>
  
  <pre><code>UIActionSheet *actionSheet = [[UIActionSheet alloc]init];
  actionSheet.title = @"Departure City";
  actionSheet.delegate = self;
  actionSheet.tag = 1;
  
  for (int j =0 ; j&lt;arrayDepartureList.count; j++)
  {
      NSString *titleString = arrayDepartureList[j];
      [actionSheet addButtonWithTitle:titleString];
  }
  </code></pre>
  
  <p>and I can use button index in delegate method to perform appropriate action.This way I can create action sheet on the fly. So with <code>UIAlertController</code> class how this can be achieved,I am asking this because in <code>UIAlertController</code> class we have to add action handlers with their action block.</p>