How to load a local file? #1234
-
I have a
But it doesn't work. Is there a way to do so? Or load file dynamically? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I read the
But this one need to drag the file to browser. My intention is to read local data and pass to |
Beta Was this translation helpful? Give feedback.
-
Anyway it works if I load data in iOS and convert to ArrayBuffer and pass to JS. |
Beta Was this translation helpful? Give feedback.
-
Please try not to spam the same question across many posts next time. This is not really helpful and certainly doesn't make me answer faster. As you indicate and as I answered here. It is not specific to alphaTab on how to do this in iOS. alphaTab in its web version simply needs an arraybuffer or Uint8Array to load the data. How you bring your data into the browser depends on your setup and you might be better helped in an iOS/Swift community on how to get answers how to do that efficiently and best. |
Beta Was this translation helpful? Give feedback.
Please try not to spam the same question across many posts next time. This is not really helpful and certainly doesn't make me answer faster.
As you indicate and as I answered here. It is not specific to alphaTab on how to do this in iOS. alphaTab in its web version simply needs an arraybuffer or Uint8Array to load the data. How you bring your data into the browser depends on your setup and you might be better helped in an iOS/Swift community on how to get answers how to do that efficiently and best.