Open jayi opened 8 years ago
[shareParams SSDKSetupShareParamsByText:defaultContent images:shareImage // UIImage,第一帧 url:[NSURL URLWithString:shareGifUrl] title:@"" type:SSDKContentTypeImage]; [shareParams SSDKSetupSinaWeiboShareParamsByText:[SSDKContentEntity new].text title:@"" image:[NSURL URLWithString:shareGifPath] url:[NSURL URLWithString:shareGifUrl] latitude:0.0f longitude:0.0f objectID:nil type:SSDKContentTypeImage];
代码如上,在3.1.4及以前的版本是可以正常使用的
最新的版本上使用时,会提示以下错误,内容编辑视图没有显示图片。
Jan 7 16:55:29 wado[3433] <Error>: CGContextDrawImage: invalid context 0x0. Backtrace: <__38-[SSUIiPhoneEditorView layoutPortrait]_block_invoke+284> <__28-[SSDKImage getNativeImage:]_block_invoke46+36> <__45-[MOBFImageServiceObserver fail:forImageURL:]_block_invoke+104> <<redacted>+132> <<redacted>+172> <-[MOBFImageServiceObserver fail:forImageURL:]+216> <<redacted>+120> <<redacted>+144> <__71-[MOBFImageService getImageWithURL:observer:onLoading:onResult:onFail:]_block_invoke55+172> <__37-[MOBFImageLoader loadWebImageByURL:]_block_invoke102+128> <_dispatch_call_block_and_release+24> <_dispatch_client_callout+16> <_dispatch_main_queue_callback_4CF+2096> <<redacted>+12> <<redacted>+1628> <CFRunLoopRunSpecific+384> <GSEventRunModal+180> <UIApplicationMain+204> <main+392> Jan 7 16:55:29 wado[3433] <Error>: CGContextDrawImage: invalid context 0x0. Backtrace: <__38-[SSUIiPhoneEditorView layoutPortrait]_block_invoke+284> <__28-[SSDKImage getNativeImage:]_block_invoke46+36> <__45-[MOBFImageServiceObserver fail:forImageURL:]_block_invoke+104> <<redacted>+132> <<redacted>+212> <-[MOBFImageServiceObserver fail:forImageURL:]+216> <<redacted>+120> <<redacted>+144> <__71-[MOBFImageService getImageWithURL:observer:onLoading:onResult:onFail:]_block_invoke55+172> <__37-[MOBFImageLoader loadWebImageByURL:]_block_invoke102+128> <_dispatch_call_block_and_release+24> <_dispatch_client_callout+16> <_dispatch_main_queue_callback_4CF+2096> <<redacted>+12> <<redacted>+1628> <CFRunLoopRunSpecific+384> <GSEventRunModal+180> <UIApplicationMain+204> <main+392>
现在用的是什么版本的sdk,可以加下我们的技术扣4006852216
代码如上,在3.1.4及以前的版本是可以正常使用的
最新的版本上使用时,会提示以下错误,内容编辑视图没有显示图片。