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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -