Posts

Post not yet marked as solved
2 Replies
3.7k Views
Using WKWebView in iOS, I encountered a problem with controlling audio output level from <audio> element in HTML page.I tried the 'volume' property of the <audio> and also the Web Audio API 'GainNode'. Neither approach worked. The player's output stays/reported as 1.0.Curiously, within the same scope of code I can change player's other properties such as playback rate; this does work. But calls to 'volume' or 'GainNode' are flatly ignored. Two observations make me believe that this is a bug.The first one: if I use instead of WKWebView the old deprecated UIWebView, everything works fine; even Web Audio API AudioContext, Splitter, Merger, etc.The second observation: in the version of the app for macOS the very same HTML page and <audio> element behave as expected.Any suggestions for 'workaround' would be much appreciated,Igor Borodin
Posted
by iaborodin.
Last updated
.
Post not yet marked as solved
1 Replies
376 Views
In previous years there was a significant difference between Safari and WKWebView in support for modern JS. Are the new features supported in both Safari and WKWebView? Or still there is a difference in support? Thanks, Igor Borodin
Posted
by iaborodin.
Last updated
.
Post not yet marked as solved
0 Replies
1.2k Views
While XCode 10 simulator allows to record, save, and play back audio on old models: 5S, 6-8, 6-8 Plus, SE, and X, none of the new models - XS, XR, X Max - record audio. No errors, no warning. Just silent fail.I had a lucky opportunity to run the app on actual device - X Max - and it worked as supposed; i.e. audio recorded, saved, and played back.So, it looks like a bug in a simulator.Igor Borodin
Posted
by iaborodin.
Last updated
.