0 Replies
      Latest reply on Sep 2, 2019 8:41 PM by jhios
      jhios Level 1 Level 1 (0 points)

        Is it possible to upload a audio file recorded by native AVAudioRecorder in a webView?

         

         

        Here is what I want to do:

         

        1. send the audio file path to js:

         

        NSString *path = audioFilePath;// like  
        [jsContext evaluateScript:[NSString stringWithFormat:@"window.audioPath=%@", path]];



        2. upload audio file to server in webView

         

         

        Can I access the audio file in WebView?