我有一个UIActionSheet,我指定了取消按钮,但是当它被点击时它并没有消失?
UIActionSheet *actionSheet = [[[UIActionSheet alloc]initWithTitle:nil delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Target Complete" otherButtonTitles:nil] autorelease];
[actionSheet showInView:self.view];
根据文档,我不需要任何代码,即使我尝试实现didCancel代理方法,它也从未被调用过?
根据文档的说明,我不需要编写任何代码,即使我尝试实现了didCancel代理方法,也从未被调用过吗?