1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
Martin Kosdy 2025-12-24 08:17:15 -05:00 committed by GitHub
commit 40d65ba166
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -906,6 +906,10 @@ public:
configuration: config.get()]);
#endif
#if JUCE_DEBUG
[webView.get() setValue:@(true) forKey:@"inspectable"];
#endif
if (const auto userAgent = browserOptions.getUserAgent(); userAgent.isNotEmpty())
webView.get().customUserAgent = juceStringToNS (userAgent);