Hello All
I am using the current version of B4i.
The behaviour i want is this
Allow the user to choose a file from any source on thei
device.
I use DocumentPickerViewController for this and get the following path
/private/var/mobile/Containers/Data/Application/9B28084B-4CF4-46D8-AB08-F7EEB3491D3D/tmp/dev.waver.agree.project-Inbox/empty agreement form.txt
I want to save the file to Dir.Documents so that the next time the user runs the app they do not have to select the file again.
For this i need a folder and filename
How do i parse the path to give this?
Many thanks
I am using the current version of B4i.
The behaviour i want is this
Allow the user to choose a file from any source on thei
device.
I use DocumentPickerViewController for this and get the following path
/private/var/mobile/Containers/Data/Application/9B28084B-4CF4-46D8-AB08-F7EEB3491D3D/tmp/dev.waver.agree.project-Inbox/empty agreement form.txt
I want to save the file to Dir.Documents so that the next time the user runs the app they do not have to select the file again.
For this i need a folder and filename
How do i parse the path to give this?
Many thanks