扫码关注官方订阅号
模态跳转 返回的时候报错 reason: '-[UIView scrollView]: unrecognized selector sent to instance 0x7fb69e073cf0' 求解决
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
这个通用解释是类型错误不过,你好歹上个代码看看。。
跳转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];返回的时候有些界面会报错,有些没问题
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个通用解释是类型错误
不过,你好歹上个代码看看。。
跳转
DetailViewController *detail = [[DetailViewController alloc] init];
返回
[self dismissViewControllerAnimated:YES completion:nil];
返回的时候有些界面会报错,有些没问题