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

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

高洛峰
高洛峰

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

全員に返信(2)
黄舟

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

いいねを押す +0
左手右手慢动作

跳转
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];
返回的时候有些界面会报错,有些没问题

いいねを押す +0
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!