diff --git a/Avalonia.Maui/Avalonia.Maui.csproj b/Avalonia.Maui/Avalonia.Maui.csproj index ecd2cff..c78c5fa 100644 --- a/Avalonia.Maui/Avalonia.Maui.csproj +++ b/Avalonia.Maui/Avalonia.Maui.csproj @@ -14,8 +14,8 @@ - - + + @@ -31,7 +31,7 @@ 11.0.9 MIT https://github.com/AvaloniaUI/AvaloniaMauiHybrid - avalonia;avaloniaui;maui;android + avalonia;avaloniaui;maui;android;ios true true true diff --git a/Avalonia.Maui/AvaloniaAppBuilderExtensions.cs b/Avalonia.Maui/AvaloniaAppBuilderExtensions.cs index 5f3d334..3b7f07a 100644 --- a/Avalonia.Maui/AvaloniaAppBuilderExtensions.cs +++ b/Avalonia.Maui/AvaloniaAppBuilderExtensions.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Maui; using Microsoft.Maui.Controls; -using Microsoft.Maui.Embedding; +using Microsoft.Maui.Controls.Hosting; using Microsoft.Maui.Hosting; using Microsoft.Maui.Platform; using MauiWindow = Microsoft.Maui.Controls.Window; @@ -36,7 +36,7 @@ public static AppBuilder UseMaui(this AppBuilder appBuilder, A .AfterSetup(appBuilder => { var builder = MauiApp.CreateBuilder() - .UseMauiEmbedding(); + .UseMauiApp(); builder.Services.AddSingleton(appBuilder.Instance!) #if ANDROID