У меня есть табличный вид. Когда пользователь щелкает любую ячейку tableView, я хочу одновременно отображать и UIAlertView, и UIActionSheet. AlertView должен отображаться над таблицей действий. И если пользователь нажимает кнопку «Отменить» в AlertView, и UIActionSheet, и UIAlertView должны исчезнуть одновременно. Как я могу этого добиться?
iPhone UIAlertView UIActionSheet tableView
Ответы (1)
Следить за этим:-
UIActionSheet *actionSheetTitleFontStyle = [[UIActionSheet alloc] initWithTitle:@"\n\n\n\n\n\n\n\n" delegate:self cancelButtonTitle:@"ok" destructiveButtonTitle:nil otherButtonTitles:nil];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello" message:@"Hello" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
[actionSheetTitleFontStyle addSubview:alert];
[alert show];
Это может вам помочь. Спасибо :)
person
Nikhil Bansal
schedule
21.05.2012