我正在尝试将我的 UIAlertViews 更改为 UIAlertControllers。我为它设置了这个动作:
UIAlertAction *undoStopAction = [UIAlertAction actionWithTitle:@"Undo Stop"
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {
[self undoStop];
}];
但是,处理程序直到操作被点击后大约一秒钟才会运行。有什么办法可以加快这个速度吗?