Ios SDWebImage崩溃
当我从应用商店下载应用程序并在设备上运行应用程序时,我的应用程序崩溃。 在上传到app store之前,我从未遇到过与Ios SDWebImage崩溃,ios,iphone,build,sdwebimage,Ios,Iphone,Build,Sdwebimage,当我从应用商店下载应用程序并在设备上运行应用程序时,我的应用程序崩溃。 在上传到app store之前,我从未遇到过与SDWebImage有关的此类错误 帮我找出确切的问题 线程:崩溃:com.apple.main-Thread 0 libobjc.A.dylib 0x000000019934c0c0 objc_retain + 32 1 Venoo 0x00000001000b95f8 -
SDWebImage有关的此类错误
帮我找出确切的问题
线程:崩溃:com.apple.main-Thread
0 libobjc.A.dylib 0x000000019934c0c0 objc_retain + 32
1 Venoo 0x00000001000b95f8 -[UIButton(WebCache)
webImageManager:didFinishWithImage:forURL:userInfo:] (UIButton+WebCache.m:152)
2 Venoo 0x00000001000b7cc8 -[SDWebImageManager imageDownloader:didFinishWithImage:] (SDWebImageManager.m:459)
3 Venoo 0x00000001000b5560 -[SDWebImageDownloader imageDecoder:didFinishDecodingImage:userInfo:] (SDWebImageDownloader.m:266)
4 Venoo 0x00000001000b3cbc -[SDWebImageDecoder notifyDelegateOnMainThreadWithInfo:] (SDWebImageDecoder.m:32)
5 Foundation 0x000000018d9b05cc __NSThreadPerformPerform + 328
6 CoreFoundation 0x000000018cdef044 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
7 CoreFoundation 0x000000018cdee3a0 __CFRunLoopDoSources0 + 256
8 CoreFoundation 0x000000018cdec638 __CFRunLoopRun + 632
9 CoreFoundation 0x000000018cd2d6d0 CFRunLoopRunSpecific + 452
10 GraphicsServices 0x0000000192a11c0c GSEventRunModal + 168
11 UIKit 0x000000018fe5efdc UIApplicationMain + 1156
12 Venoo 0x000000010007ee9c main (main.m:13)
13 libdyld.dylib 0x0000000199927aa0 start + 4
请发布一些下载图像的代码。uu block UIImage*profileImage=[UIImage ImageName:@“defaultMaleImage”];[cell.userProfileImageBtn setBackgroundImageWithURL:[NSURL URLWithString:[[self.messageFeeds objectAtIndex:indexPath.row]valueForKey:@“user\u profile\u pic”]]占位符图像:配置文件图像选项:SDWebImageCacheMoryOnly成功:^(UIImage*image,BOOL缓存){profileImage=image;}失败:^(NSError*error){}];cell.userProfileImageBtn.imageView.image=profileImage;上面的代码用于下载映像