UIActionSheet not responding to touches
- by mongeta
Hello,
I can't touch any button in my UIActionSheet.
If I copy/paste this code in a new project, it works as expected.
I'm forcing the First Responder = doesn't work
I'm using [menu showFromTabBar:self.tabBarController.tabBar]; = doesn't work
I'm using [menu showInView:self.view.window]; = doesn't work
UIActivityIndicatorView *progressView = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(150, 105, 25, 25)];
progressView.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;
UIActionSheet *menu = [[UIActionSheet alloc] initWithTitle:@"first_time_loading"
delegate:self
cancelButtonTitle:@"device_stop_info"
destructiveButtonTitle:nil
otherButtonTitles:nil];
[menu addSubview:progressView];
[menu setTag:9];
[menu becomeFirstResponder];
[menu showInView:self.view];
//
[menu becomeFirstResponder];
[menu setBounds:CGRectMake(0,0,320, 175)];
[progressView startAnimating];
[progressView hidesWhenStopped];
[menu becomeFirstResponder];
Don't know where to look for more ideas ...
I'm opening from a UITableViewController in:
- (void)viewDidAppear:(BOOL)animated { // doesn't work
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath // doesn't work
thanks,
r.