[英]Sharekit2.0 share crash in iOS4: NSAssert(vc.presentingViewController == nil, @"vc must not be in the view hierarchy now
I have latest Sharekit2.0 included in my project. 我的项目中包含最新的Sharekit2.0。 It's OK on iOS5 and iOS6.However in iOS4, I could not finish share to twitter because of an issue: " NSAssert(vc.presentingViewController == nil, @"vc must not be in the view hierarchy now"); //ios4 and older", which is included in SHK.m
在iOS5和iOS6上都可以。但是在iOS4中,由于一个问题,我无法完成与Twitter的共享:“ NSAssert(vc.presentingViewController == nil,@” vc现在必须不在视图层次结构中“); // ios4和更老”,包含在SHK.m中
I know it's a cause of absence of TWTweetComposeViewController which is used to input share text/picture. 我知道这是缺少用于输入共享文本/图片的TWTweetComposeViewController的原因。 However, I still don't know how to implement it and support ios4 ?
但是,我仍然不知道如何实现它并支持ios4?
I appreciate if somebody could help me on it and better have lines of demo code :). 我很高兴有人可以帮助我,并更好地编写演示代码:)。 It's better not to change the Sharekit submodule.
最好不要更改Sharekit子模块。
Liang 良
I have fixed ShareKit, please update. 我已经修复了ShareKit,请更新。 I do not have iOS4 device around to test, so please let me know, if it works.
我没有可以测试的iOS4设备,因此,如果可以运行,请告诉我。 However, please answer my comments.
但是,请回答我的评论。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.