点击了tableView在
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
执行
[self dismissViewControllerAnimated:YES completion:nil];
当前界面不会立即关闭有3-4s延迟,如果再次点击当前界面上任意位置,就会立即关闭。
使用Button执行上面代码进行关闭的时候不出出现这个问题。
点击了tableView在
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
执行
[self dismissViewControllerAnimated:YES completion:nil];
当前界面不会立即关闭有3-4s延迟,如果再次点击当前界面上任意位置,就会立即关闭。
使用Button执行上面代码进行关闭的时候不出出现这个问题。