ios - Cannot get image and no visible interface -


when use saving code error @ interface "secondviewcontroller" decalres selector getcachedirectorypath. used

 @interface getcachedirectorypath : uiimagepickercontroller 

in .h file. below .m file

-(uiimage *)getimagefromcachewithname:(nsstring *)name {nsstring *_imagepath =[nsstring stringwithformat:@"%@/%@.png",[self     getcachedirectorypath],name];  if([[nsfilemanager defaultmanager]fileexistsatpath:_imagepath])  {uiimage *_image =[uiimage imagewithcontentsoffile:_imagepath];      return _image;  }  return nil; 


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -