Closed EarthMass closed 6 years ago
搞定了 估计是哪里 cell 点击被拦截了 ios9 上 在侧边菜单中添加
//添加手势 UITapGestureRecognizer *gesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:nil]; gesture.numberOfTapsRequired = 1; gesture.delegate = self; [self.view addGestureRecognizer:gesture];
@ChavezChen
ios9 侧边栏点击卡顿,ios10 + 就没问题,不知道什么原因
下面两种方式都是这种情况
dispatch_async(dispatch_get_main_queue(), ^{ [self cw_pushViewController:vc]; });
// dispatch_async(dispatch_get_main_queue(), ^{ // // [[UIApplication sharedApplication].delegate.window.rootViewController dismissViewControllerAnimated:NO completion:^{ // // // // UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:vc]; // [UIApplication sharedApplication].delegate.window.rootViewController = nav; // // NSLog(@"动画完成"); // // }]; // });