ios - Read PDF file from internal storage -


i have list pdf files stored in internal storage, , have pick them. tried followings:

uidocumentpickerviewcontroller , uidocumentmenuviewcontroller. not expecting:

let docurl = (nsfilemanager.defaultmanager().urlsfordirectory(.documentdirectory, indomains: .userdomainmask).last) as? nsurl var contents = (nsfilemanager.defaultmanager().contentsofdirectoryaturl(docurl!, includingpropertiesforkeys: nil, options: nsdirectoryenumerationoptions.skipshiddenfiles, error: nil)) 

this showing files stored in application memory alone, need of files stored in phone memory

can advise in this?


Comments

Popular posts from this blog

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -