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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -