objective c - IMAGES Sometimes 0 KB And Black IOS -


i save images on

nsarray *paths = nssearchpathfordirectoriesindomains(nsdocumentdirectory, nsuserdomainmask, yes); nsstring *documentsdirectory = [paths objectatindex:0]; nsstring *path = [documentsdirectory stringbyappendingpathcomponent:[self.data valueforkey:@"message"]]; 

but images loaded using haneke

  nslog(@"%@",path);     [self.contentimage hnk_setimagefromfile:path placeholder:nil success:^(uiimage *image) {      } failure:^(nserror *error) { 

}

enter image description here , images becomes black sometimes...i guess path not correct path..what did u say?

edit:oh found image lenght bigger 0 68900 etc.but images black...!!!so there no wrong path


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -