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

我用TBActionSheet 自定义了一个分享Sheet,跳出App分享后再回来,出现了各种问题. #29

Open
shenguanjiejie opened this issue Apr 9, 2018 · 4 comments

Comments

@shenguanjiejie
Copy link

1.自定义view是一个collectionView,分享之前一切正常
2.分享之后,collectionView消失了,更奇怪的是,我取消掉,然后重新初始化这个sheet,collectionView也不存在
3.如果我在点击分享跳出到其他App之前把sheet close掉,那么回来之后,整个window就变的不能点击了.App就没法继续用了.

@yulingtianxia
Copy link
Owner

yulingtianxia commented Apr 9, 2018

@shenguanjiejie 能提供个复现bug的demo代码么?collectionview是不是释放掉了呢?

@shenguanjiejie
Copy link
Author

好像是被释放掉了 这就是奇怪的地方 我没做任何操作 , 而且我重新初始化,也没法再显示出来了,我后来自己写了一个,最近没有时间,改天我搞个demo吧.

@yulingtianxia
Copy link
Owner

@shenguanjiejie 嗯可以尝试把collectionview弄成属性持有,在action sheet dismiss完成后再跳转其他app试试

@yulingtianxia
Copy link
Owner

@shenguanjiejie 我自己写了个 Demo,调用 close 后立刻跳转到其他 app,回来后是 ok 的。可能是你用的版本太旧了,换个最新的代码试试哈。

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

No branches or pull requests

2 participants