iOS Question get access to the "Special folder" from an app

imbault

Well-Known Member
Licensed User
First, is it possible to get access to the "Special folder" and its files from an app, if yes, how ?
from a File.??? something or something else?


Thanks
 

Erel

Administrator
Staff member
Licensed User
The folder value should be:
B4X:
Sub SpecialFolder As String
Dim no As NativeObject
Return no.Initialize("NSBundle").RunMethod("mainBundle", Null).RunMethod("bundlePath", Null).AsString
End Sub

Note that in release mode this is the same as File.DirAssets.
In debug mode you need to click on clean project after you update this folder.
 
Upvote 0
Top