ios - PFFile location on disk -


i've read in multiple places on parse forums , stackoverflow pffile contents saved disk after downloaded. saved? how can access raw contents?

for context, i'm using avfoundation , doesn't play nsdata or nsinputstream. right i'm fetching file parse , writing contents of nsdata temp directory.

untested attempt @ getting cache location pffile:

nsstring *home = nshomedirectory(); nsstring *library = [home stringbyappendingpathcomponent:@"library"]; nsstring *docs = [library stringbyappendingpathcomponent:@"private documents"]; nsstring *parse = [docs stringbyappendingpathcomponent:@"parse"]; nsstring *staging = [parse stringbyappendingpathcomponent:@"pffilestaging"]; nsstring *file = [staging stringbyappendingpathcomponent:         [nsstring stringwithformat:@"%p_%@", pffileobj, pffileobj.name]]; 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -