diff --git a/docs/platform-integration/native-embedding.md b/docs/platform-integration/native-embedding.md index 5a67864ed..510b9aee8 100644 --- a/docs/platform-integration/native-embedding.md +++ b/docs/platform-integration/native-embedding.md @@ -88,6 +88,9 @@ public class MainActivity : AppCompatActivity } ``` +> [!NOTE] +> The call to the method can specify your own derived class, such as `MyApp`. For example, `builder.UseMauiEmbedding();`. + ### iOS and Mac Catalyst On iOS and Mac Catalyst, the `FinishedLaunching` override in the `AppDelegate` class is typically the place to perform app startup related tasks. It's called after the app has launched, and is usually overridden to configure the main window and view controller. The following code example shows .NET MAUI being initialized in the `AppDelegate` class: @@ -127,6 +130,9 @@ public class AppDelegate : UIApplicationDelegate } ``` +> [!NOTE] +> The call to the method can specify your own derived class, such as `MyApp`. For example, `builder.UseMauiEmbedding();`. + ### Windows On Windows apps built using WinUI, .NET MAUI can typically be initialized in the native `App` class, `Window` class, or a class. The following code example shows .NET MAUI being initialized in a class: @@ -155,6 +161,9 @@ public sealed partial class MainPage : Page } ``` +> [!NOTE] +> The call to the method can specify your own derived class, such as `MyApp`. For example, `builder.UseMauiEmbedding();`. + ## Consume .NET MAUI controls To consume .NET MAUI types that derive from in native apps, create an instance of the control and convert it to the appropriate native type with the `ToPlatform` extension method.