Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置BarButtonItem = nil 的崩溃问题 #398

Closed
4 tasks done
fanyuecheng opened this issue Sep 6, 2018 · 2 comments
Closed
4 tasks done

设置BarButtonItem = nil 的崩溃问题 #398

fanyuecheng opened this issue Sep 6, 2018 · 2 comments
Labels

Comments

@fanyuecheng
Copy link

fanyuecheng commented Sep 6, 2018

请填写运行环境

  • 设备:模拟器
  • 系统:iOS 11.3
  • Xcode 版本:9.4.1
  • QMUI iOS 版本:2.7.6

请描述具体问题

QMUINavigationButton.m 文件 UINavigationItem (QMUINavigationButton)中

系统 < iOS 11 下,在setupNavigationItems设置
self.navigationItem.leftBarButtonItem = nil; (或者 rightBarButtonItem)
在滑动返回时会崩溃
因为直接使用了 @[item]

将QDUIKitViewController的rightBarButtonItem设置为nil,点击任意Controller,滑动返回即可复现。

相关截图(断点的堆栈、控制台的 log)

@fanyuecheng fanyuecheng changed the title 设置BarButtonItem =nil 的崩溃问题 设置BarButtonItem = nil 的崩溃问题 Sep 6, 2018
@MoLice MoLice added the bug label Sep 11, 2018
@MoLice
Copy link
Collaborator

MoLice commented Sep 11, 2018

确实,我们会尽快发布新版本修复这个bug。

@MoLice
Copy link
Collaborator

MoLice commented Sep 21, 2018

2.8.0 已修复

@MoLice MoLice closed this as completed Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants