Я хочу изменить image of
buttons
UIActionSheet
, у меня images
для каждого button
, и я хочу, чтобы каждый button
показывал image
, который я хочу. Я поискал в Интернете и нашел много ответов, но они не помогли.
Вот инициализация 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];
}