1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +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()]); configuration: config.get()]);
#endif #endif
#if JUCE_DEBUG
[webView.get() setValue:@(true) forKey:@"inspectable"];
#endif
if (const auto userAgent = browserOptions.getUserAgent(); userAgent.isNotEmpty()) if (const auto userAgent = browserOptions.getUserAgent(); userAgent.isNotEmpty())
webView.get().customUserAgent = juceStringToNS (userAgent); webView.get().customUserAgent = juceStringToNS (userAgent);