title: UItextField - iOS multiple line textfield on AlertView
body: <p>Here is my code</p>
  
  <p>I am adding uitextfield to alertview , what I need is to get the data from the array to uitextfield with multiple lines and should be editable.</p>
  
  <pre><code> NSString *selected = [lineItemsArray objectAtIndex:indexPath.row];
  UIAlertController *controller = [UIAlertController                                      alertControllerWithTitle:@"Notice" message:@"Selected"                                   preferredStyle:UIAlertControllerStyleAlert];
  [controller addTextFieldWithConfigurationHandler:^(UITextField *linetextField)
   { 
       linetextField.text=selected;  
   }];
  UIAlertAction *alertAction = [UIAlertAction actionWithTitle:@"Okay"
                                                        style:UIAlertActionStyleDestructive
                                                      handler:^(UIAlertAction *action) {
                                                          [self.navigationController popViewControllerAnimated:YES];
                                                          NSLog(@"Dismiss button tapped!");
                                                      }];
  [controller addAction:alertAction];
  [self presentViewController:controller animated:YES completion:nil];
  PackageLineItemViewController *pLineVC = [[PackageLineItemViewController alloc]init];
  pLineVC.view.backgroundColor = [UIColor whiteColor];
  [self.navigationController pushViewController:pLineVC animated:YES];
  [self.view endEditing:YES];
  </code></pre>