Sharekit Twitter 集成在 iOS 5 中崩溃
在以前的 iOS 版本中,使用 Twitter 功能(通过 bit.ly)效果非常好。但是,当我单击“提交到 Twitter”时,它会发布内容,但不会删除该对话框。听起来与此错误类似(事实上取消按钮也不起作用):
https:// /github.com/ideashower/ShareKit/issues/254
我尝试了列出的解决方案,但它不起作用。有什么想法吗?
谢谢!
In previous iOS versions, using the Twitter functionality (with bit.ly) Works perfect. However, when I click submit to twitter, it posts, but doesn't remove the dialog. It sounds similar to this bug (in fact the cancel button doesn't work either):
https://github.com/ideashower/ShareKit/issues/254
I tried the solution listed, but it doesn't work. Any ideas?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我得到了关于实际错误的答案
“现在 NDA 已解除,我只是将 SHK.m 中 [[currentView ParentViewController]dismissModalViewControllerAnimated:YES] 的两个实例更改为 [currentViewdismissModalViewControllerAnimated:YES]。
这个要点是我的 SHK。米:https://gist.github.com/1281191"
I got an answer on the actual bug
"Now that the NDA is lifted, I just changed the two instances of [[currentView parentViewController] dismissModalViewControllerAnimated:YES] in SHK.m to [currentView dismissModalViewControllerAnimated:YES].
This gist is my SHK.m: https://gist.github.com/1281191"
我已经更改了函数 hideCurrentViewControllerAnimated 中的代码,它工作完美。
我的代码:
I've changed code in function hideCurrentViewControllerAnimated and it works perfect.
My code: