iPad's UIActionSheet showing multiple times

前端 未结 5 948
栀梦
栀梦 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:45

    use

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

提交回复
热议问题