I know how to add any Custom UI
inside UIAlertView
by using accessoryView
like UITableView
but I am now curious that if w
UIViewController *tempViewController = [[UIViewController alloc] init];
tempViewController.view.backgroundColor = [UIColor redColor];
[alertController setValue:tempViewController forKey:@"contentViewController"];
That piece of code will show a red view on the alert view,Now you can easily put a UITableView
inside the UIViewController
.Happy UIAlertController
customizing ;)