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

    Hi,
    I need initialize a bitmap with a file in a sub folder of DirAssets.
    I use this code:
    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.

    upload_2015-7-13_8-51-18.png


    What Happens?
    Ths
    Marco
     
  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.
Loading...
  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