iPad's UIActionSheet showing multiple times

前端 未结 5 961
栀梦
栀梦 2021-02-14 07:22

I have a method called -showMoreTools: which is:

- (IBAction) showMoreTools:(id)sender {
    UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:nil dele         


        
5条回答
  •  抹茶落季
    2021-02-14 07:55

    try by setting the flag(YES/NO)

    -(void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated
    

提交回复
热议问题