iOS Question Using a subfolder of DirAssets

Discussion in 'iOS Questions' started by Marco Maria Vilucchi, Jul 13, 2015.

  1. Marco Maria Vilucchi

    Marco Maria Vilucchi Active Member Licensed User

    I need initialize a bitmap with a file in a sub folder of DirAssets.
    I use this code:
    pic0.initialize(File.DirAssets & "/icone/","icpiu.png")
    but I have this response:

    Error opening stream: The operation couldn’t be completed. No such file or directory

    My file exist.


    What Happens?
  2. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    retry File.Combine(File.DirAssets & "icone")
  3. Erel

    Erel Administrator Staff Member Licensed User

    Subfolders under the assets folder are currently not supported.

    You can put a zip file with all the files and then use the archiver library to unzip it in one of the other folders.
    omidaghakhani1368 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice