How we can add the UIView on UIAlertController as we can do on the UIAlertView by using @"AccessoryView" but now it is deprecated in iOS 8 .
So I want to use it with UIAlertController but how?
-
Search google, then use a custom control.Wain– Wain2015-01-22 11:13:27 +00:00Commented Jan 22, 2015 at 11:13
-
What is custom control? I didn't get it anywhereRohit_RK– Rohit_RK2015-01-22 11:22:43 +00:00Commented Jan 22, 2015 at 11:22
-
Something specially created, like everything at www.cocoacontrols.comWain– Wain2015-01-22 11:23:27 +00:00Commented Jan 22, 2015 at 11:23
Add a comment
|
3 Answers
You can add a UITableView on UITableViewCell , also CollectionView on the UITableviewCell. you have to specify datasources inside the cell classes according to the cell index.
register the child cell nib inside the - (void)awakeFromNib function
[self.collectionView registerNib:[UINib nibWithNibName:@“childCollectnCell” bundle:[NSBundle mainBundle]] forCellWithReuseIdentifier:@“childCollectnCell”]
and Specify the datasources and delegates inside class