iphone - SDWebImageManager issue -
sdwebimagemanager *manager = [sdwebimagemanager sharedmanager]; [manager downloadwithurl:imageurl  delegate:self  options:0  success:^(uiimage *image, bool cached) {     _newsimage.alpha = 0.0;     [uiview transitionwithview:_newsimage                       duration:3.0                        options:uiviewanimationoptiontransitioncrossdissolve                     animations:^{                         [_newsimage setimage:image];                         _newsimage.alpha = 1.0;                     } completion:null];  }failure:nil];   i using code download images through sdwebimage library , geting error
no visible @interface 'sdwebimagemanager' declares selector 'downloadwithurl:delegate:options:success:failure:'      
may not use proper sdwebimage. download sdwebimage , check . add "sdwebimage" folder project , check.
you can code download image:
    [imageviewname setimagewithurl:[nsurl urlwithstring:strimageurl] placeholderimage:[uiimage imagenamed:@"noimage.png"] completed:^(uiimage *image, nserror *error, sdimagecachetype cachetype) {     }];   import #import "uiimageview+webcache.h" in viewcontroller use code.
hope resolve issue. :)
Comments
Post a Comment