English 中文(简体)
介绍“积极行动”的问题 可在电文中翻版
原标题:Problem presenting a UIActionSheet from a double tap in UITableViewCell

我是在一个用户把我的囚室放在双管上时,介绍“国际行动”:

4. 在单元Init的认可:

UITapGestureRecognizer *doubleTap = [[UITapGestureRecognizer alloc]
                                            initWithTarget:self 
                                             action:@selector(handleDoubleTap:)];

        [doubleTap setNumberOfTapsRequired:2];
        [self addGestureRecognizer:doubleTap];
        [doubleTap release];

代表处理主机:

- (void)handleDoubleTap:(UITapGestureRecognizer *)recognizer {
    NSLog(@"double oo");
    [delegate handleDoubleTapp];
}

现在,作为我的可贵意见书记员的代表将介绍“国际行动”:

-(void)handleDoubleTapp{

        UIActionSheet *actionSheet = [[[UIActionSheet alloc]
                                       initWithTitle:nil
                                       delegate:self
                                       cancelButtonTitle:@"Cancel"
                                       destructiveButtonTitle:nil
                                       otherButtonTitles:@"Reply", @"Retweet", @"Direct Message", nil] autorelease];    
        [actionSheet showInView:self.parentViewController.tabBarController.view];

    }   
}

My UITableViewController 执行情报行动 适当的分配方法。

问题:

  1. Not all areas of the actionsheet are responsive
  2. Clicking on a button presents a modal view, but the actionsheet does not get dismissed
  3. When buttons are able to be clicked, they don t highlight
最佳回答

就像一个想法一样,你在“积极行动”一度试图不加入联盟。 当行动表被拒时,便会发现并重新登记? 也许,承认者会干扰这些接触。

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签