Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 使用UITableView发出警报_Iphone_Objective C - Fatal编程技术网

Iphone 使用UITableView发出警报

Iphone 使用UITableView发出警报,iphone,objective-c,Iphone,Objective C,是否可以使用带有UITableView的警报执行如下所示的操作?如果是,如何做到 不,那不是UITableView。如果要显示类似的内容,请使用UIAlertView: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:@"Annuler" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; [alert rel

是否可以使用带有UITableView的警报执行如下所示的操作?如果是,如何做到


不,那不是UITableView。如果要显示类似的内容,请使用UIAlertView:

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:@"Annuler" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; [alert release]; 
阅读我的这篇文章-


并尝试添加表格或滚动视图,而不是uitextfield

您的问题不清楚。请重新措辞。我很难理解你的问题。你是在问如何做像图片中显示的那样的事情吗?我想他想定制UIAlertView,它应该看起来像附加的屏幕。我知道是AlertView,但我想做同样的事情,像这样一个带有TableView的AlertView我在CGRectMake中有问题,你能帮我吗?!