title: how to add a UITableView into UIAlertView in iOS 7
body: <p>did some googling around saw that subview is no longer supported in iOS 7.</p>
  
  <p>Some ppl recommend creating custom view, but i am not sure how can i do that.</p>
  
  <p>Here is my code, can anyone point me in the correct direction?</p>
  
  <pre><code>-(IBAction)click_select_fruit_type
  {
  select_dialog = [[[UIAlertView alloc] init] retain];
  [select_dialog setDelegate:self];
  [select_dialog setTitle:@"Fruit Type"];
  [select_dialog setMessage:@"\n\n\n\n"];
  [select_dialog addButtonWithTitle:@"Cancel"];
  
  idType_table = [[UITableView alloc]initWithFrame:CGRectMake(20, 45, 245, 90)];
  idType_table.delegate = self;
  idType_table.dataSource = self;
  [select_dialog addSubview:idType_table];
  
  [idType_table reloadData];
  
  [select_dialog show];
  [select_dialog release];
  
  }
  </code></pre>