dotnet / dotnet/maui

[IOS] HybridWebView can't display an iFrame

Open
#29,396 7 comments 0 reactions 0 assignees View on GitHub
area-controls-hybridwebview platform/ios s/needs-attention s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

I'm trying to host an iFrame in a HybridWebView. When I set the source to navigate I get the error

`2025-05-08 10:26:38.649716+0100 HybridWebViewDemo[8654:162461] [Loading] 0x102251218 - [pageProxyID=9, webPageID=10, PID=8666] WebPageProxy::didFailLoadForFrame: frameID=27, isMainFrame=0, domain=NSURLErrorDomain, code=-999`

The target url is https with a real certificate from Lets Encrypt and the frame options of the web server have been made permissive to allow embedding in an iFrame.

### Steps to Reproduce

Open then HybridWebView example.
Add an iFrame to the the index.html

Update the script in index.html
```
window.addEventListener(
"HybridWebViewMessageReceived",
function (e) {
LogMessage("Raw message: " + e.detail.message);
});

function AddNumbers(a, b) {
var result = {
"result": a + b,
"operationName": "Addition"
};

document.getElementById("docviewer_frame").src = "https://";

return result;
}
```

Same code in Android and Windows works correctly.

### Link to public reproduction project repository

_No response_

### Version with bug

9.0.60 SR6

### Is this a regression from previous behavior?

Not sure, did not test other versions

### Last version that worked well

Unknown/Other

### Affected platforms

iOS

### Affected platform versions

iOS 18.4

### Did you find any workaround?

_No response_

### Relevant log output

```shell
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Private.CoreLib.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.iOS.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Collections.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Threading.Thread.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Threading.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/HybridWebViewDemo.dll
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Maui.Controls.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.ObjectModel.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Maui.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Text.Json.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.ComponentModel.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Private.Uri.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Collections.Concurrent.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Private.Xml.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Memory.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Diagnostics.TraceSource.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Collections.NonGeneric.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Collections.Specialized.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.ComponentModel.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Text.RegularExpressions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Reflection.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Diagnostics.Tracing.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Intrinsics.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Win32.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.Http.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.Security.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Security.Cryptography.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Formats.Asn1.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Text.Encoding.Extensions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Numerics.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.IO.MemoryMappedFiles.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Security.Claims.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.Sockets.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Diagnostics.DiagnosticSource.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Threading.ThreadPool.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.NameResolution.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Linq.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.Quic.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.IO.Compression.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.IO.Compression.Brotli.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Threading.Channels.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Net.NetworkInformation.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Reflection.Emit.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Reflection.Metadata.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Collections.Immutable.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Loader.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Linq.Expressions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Serialization.Formatters.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Resources.Writer.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Xml.XDocument.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Private.Xml.Linq.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Console.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.IO.Pipelines.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Text.Encodings.Web.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.DependencyInjection.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Options.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.ComponentModel.Annotations.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Web.HttpUtility.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/Microsoft.Extensions.Logging.Debug.dll [External]
Resolved pending breakpoint for 'HybridWebViewDemo.Program.Main(System.String[])' to C:\Git\old\maui-samples\9.0\UserInterface\Views\HybridWebViewDemo\HybridWebViewDemo\Platforms\iOS\Program.cs:10 [0x00000].
Loaded assembly: data-0x10761c000 [External]
Loaded assembly: data-0x10c11c000 [External]
Loaded assembly: data-0x10c138000 [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/netstandard.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:425 [0x00000].
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:420 [0x00000].
2025-05-08 10:25:43.170195+0100 HybridWebViewDemo[8654:162461] You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
Thread started: #2
Thread started: #3
Thread started: #4
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Runtime.Serialization.Primitives.dll [External]
2025-05-08 10:25:44.312279+0100 HybridWebViewDemo[8654:162461] GSFont: "OpenSans-Regular" already exists.
2025-05-08 10:25:44.312489+0100 HybridWebViewDemo[8654:162461] GSFontRegisterCGFont() failed 305
Thread started: .NET Timer #5
2025-05-08 10:25:44.620227+0100 HybridWebViewDemo[8654:163218] [default] Failed to resolve host network app id to config: bundleID: com.apple.WebKit.Networking instance ID: Optional([_EXExtensionInstanceIdentifier: 5AEFD9B8-886C-473C-916D-8D7DAABEAC8F])
Thread started: #6
Thread started: .NET TP Gate #7
Loaded assembly: /Users/ian/Library/Developer/CoreSimulator/Devices/96CDF366-07CD-44A8-A5DD-610E6C7DE14A/data/Containers/Bundle/Application/5FC81D46-90B7-4D10-9752-1FF7E068C751/HybridWebViewDemo.app/System.Xml.XmlSerializer.dll [External]
Thread started: #8
Thread finished: #6
The thread 6 has exited with code 0 (0x0).
2025-05-08 10:26:38.649716+0100 HybridWebViewDemo[8654:162461] [Loading] 0x102251218 - [pageProxyID=9, webPageID=10, PID=8666] WebPageProxy::didFailLoadForFrame: frameID=27, isMainFrame=0, domain=NSURLErrorDomain, code=-999
Thread started: #9
Thread finished: #8
```

Contributor guide

Open the contributing guide

Research direction

Start with the HybridWebView example and the index.html changes described in the reproduction steps, then run it on iOS 18.4 and compare the same iframe behavior on Android and Windows. Done means the HTTPS iframe displays in the iOS HybridWebView without the reported NSURLErrorDomain code -999 failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios, javascript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.