[Solved]: audio file playing on iOS is not working

I made a sampler which works fine on Mac and PC, but when it comes to iOS, after I chose a file with the browser, nothing happens, even for the official tutorial, I build it onto my iPad, got the same result, only can call up the file chooser, but after chose a file, nothing happens except the window closing. Any idea why it’s happening?

This is the official tutorial I’m following.

Or do I have to duplicate the file locally to make it work on iOS?

I think I got the answer from the official document, I need to use [getURLResult()]
(JUCE: FileChooser Class Reference)

for mobile platforms.

1 Like