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