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

修复在 iOS8 及以下的系统中,关闭 ActionSheet 后旋转屏幕出现的崩溃 #32

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

Amztion
Copy link
Contributor

@Amztion Amztion commented Apr 12, 2017

https://developer.apple.com/library/content/releasenotes/Foundation/RN-Foundation/index.html#10_11NotificationCenter

iOS9 以后当对象被释放掉后才会自动 removeObserver。 在 iOS8 及以下需要在 dealloc 时手动 remove。

如果不 remove,在 iOS8 及以下系统上 LCActionSheet 对象被释放掉以后仍旧会受到通知,会产生崩溃。

@iTofu
Copy link
Owner

iTofu commented Apr 12, 2017

收到,非常感谢!commit 我看了,的确是个 bug,对这个不留心的问题可能耽误你的项目表示抱歉!我电脑没带,明天一上班我就处理哈。

@iTofu iTofu merged commit e334566 into iTofu:master Apr 13, 2017
@iTofu
Copy link
Owner

iTofu commented Apr 13, 2017

已 merged,再次感谢,请更新到 V 2.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants