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

有安装QQ,但是提示没有安装,无法分享 #3

Closed
nullfy opened this issue Aug 24, 2017 · 4 comments
Closed

有安装QQ,但是提示没有安装,无法分享 #3

nullfy opened this issue Aug 24, 2017 · 4 comments

Comments

@nullfy
Copy link

nullfy commented Aug 24, 2017

QQ v6.1.0.211
Device iPad mini2 iOS10.3.2

@liugangios
Copy link
Owner

我用iphone是可以的。ipad不可以,很可能是service id和iphone的不一样。你调用一下 SLComposeViewController *composeVc = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeSinaWeibo]; 控制台里看一下QQ的service id看看和代码里写的service id一样不。

@nullfy
Copy link
Author

nullfy commented Aug 24, 2017

奇怪了
2017-08-24 10:36:14.050330+0800 IFMShareDemo[2276:389235] [core] SLComposeViewController initWithServiceType: com.apple.social.sinaweibo
2017-08-24 10:36:14.073386+0800 IFMShareDemo[2276:389297] [core] SLComposeViewController _shareExtensionWithIdentifier: continuous discovery block got extensions (
"<NSExtension: 0x170173440> {id = com.evernote.iPhone.Evernote.EvernoteShare}",
"<NSExtension: 0x1701735c0> {id = com.jianshu.Hugo.Share-Extension}",
"<NSExtension: 0x170173740> {id = com.apple.share.Vimeo.post}",
"<NSExtension: 0x1701738c0> {id = com.apple.share.Flickr.post}",
"<NSExtension: 0x1701741c0> {id = com.apple.share.TencentWeibo.post}",
"<NSExtension: 0x170173a40> {id = com.apple.share.Twitter.post}",
"<NSExtension: 0x170173bc0> {id = com.apple.share.Facebook.post}",
"<NSExtension: 0x170173ec0> {id = com.tencent.xin.sharetimeline}",
"<NSExtension: 0x170173d40> {id = com.apple.share.SinaWeibo.post}",
"<NSExtension: 0x170174040> {id = com.apple.reminders.RemindersEditorExtension}",
"<NSExtension: 0x170174340> {id = com.apple.mobilenotes.SharingExtension}",
"<NSExtension: 0x1701744c0> {id = com.sina.weibo.ShareExtension}",
"<NSExtension: 0x170174700> {
2017-08-24 10:36:14.075909+0800 IFMShareDemo[2276:389297] [core] SLComposeViewController _shareExtensionWithIdentifier: continuous discovery block did update _identifierToShareExtensionMap {
"com.apple.Music.MediaSocialShareService" = "<NSExtension: 0x170174880> {id = com.apple.Music.MediaSocialShareService}";
"com.apple.mobilenotes.SharingExtension" = "<NSExtension: 0x170174340> {id = com.apple.mobilenotes.SharingExtension}";
"com.apple.mobileslideshow.StreamShareService" = "<NSExtension: 0x170174700> {id = com.apple.mobileslideshow.StreamShareService}";
"com.apple.reminders.RemindersEditorExtension" = "<NSExtension: 0x170174040> {id = com.apple.reminders.RemindersEditorExtension}";
"com.apple.share.Facebook.post" = "<NSExtension: 0x170173bc0> {id = com.apple.share.Facebook.post}";
"com.apple.share.Flickr.post" = "<NSExtension: 0x1701738c0> {id = com.apple.share.Flickr.post}";
"com.apple.share.SinaWeibo.post" = "<NSExtension: 0x170173d40> {id = com.apple.share.SinaWeibo.post}";
"com.apple.share.TencentWeibo.post" = "<NSExtension: 0x1701741
2017-08-24 10:36:14.077127+0800 IFMShareDemo[2276:389235] [core] SLComposeViewController initWithServiceType got extension <NSExtension: 0x170173d40> {id = com.apple.share.SinaWeibo.post} for identifier com.apple.share.SinaWeibo.post
2017-08-24 10:36:14.077396+0800 IFMShareDemo[2276:389235] [core] SLComposeViewController initWithExtension: <NSExtension: 0x170173d40> {id = com.apple.share.SinaWeibo.post} requestedServiceType: com.apple.social.sinaweibo
2017-08-24 10:36:14.096883+0800 IFMShareDemo[2276:389235] [core] SLComposeViewController dealloc <SLComposeViewController: 0x10040a210>

@liugangios
Copy link
Owner

@mumusa 没有的话,可能就是QQ和微信的ipad版没有提供share extension。只能用他们的sdk或者openshare了。看打印,简书和印象笔记有,还有一些苹果自己的分享。你在ipad的safari的分享里看看,有没有分享到QQ,如果没有,那就真的没有提供了

@nullfy
Copy link
Author

nullfy commented Aug 25, 2017

是没有的,感谢回复🙏

@nullfy nullfy closed this as completed Aug 25, 2017
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