ios - 模态跳转返回报错
高洛峰
高洛峰 2017-04-17 15:47:20
0
2
183

模态跳转 返回的时候报错 reason: '-[UIView scrollView]: unrecognized selector sent to instance 0x7fb69e073cf0' 求解决

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

répondre à tous(2)
黄舟

这个通用解释是类型错误
不过,你好歹上个代码看看。。

左手右手慢动作

跳转
DetailViewController *detail = [[DetailViewController alloc] init];

UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:detail];

[detail addTitleViewWithTitle:@"品牌详情" size:18 image:nil];
[self.view.window.rootViewController presentViewController:nav animated:YES completion:nil];

返回
[self dismissViewControllerAnimated:YES completion:nil];
返回的时候有些界面会报错,有些没问题

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!