Я хочу изменить изображение для
кнопок
из UIActionSheet
У меня есть изображений
для каждой кнопки
, и я хочу, чтобы на каждой кнопке
отображалось нужное изображение
. Я поискал в Интернете и нашел много ответов, но они не помогли.
Вот инициализация UIActionSheet
-(IBAction)showActionSheet:(id)sender {
UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:@"title" delegate:self cancelButtonTitle:@"Cancel Button" destructiveButtonTitle:nil otherButtonTitles:@"Other Button 1", @"Other Button 2", nil];
popupQuery.actionSheetStyle = UIActionSheetStyleDefault;
[popupQuery showInView:self.view];
[popupQuery release];
}