MAUIverse MAUIverse

Extend .NET MAUI application with iOS Extensions

App extensions let your app reach beyond its own window, surfacing functionality while people use other apps or the system. This post shows how to add one, an iOS Share extension, to a .NET MAUI project.

The steps are short. Create the MAUI project, add a Xamarin iOS application, then add an App Extension that targets it. From there, the extension’s .csproj is switched to an SDK-style project with IsAppExtension set, and the MAUI project references it with a ProjectReference marked as an app extension. The temporary Xamarin iOS app can then be deleted.

It’s a good reference if you need a share target and want to see exactly which project settings make the extension build alongside a MAUI app. The full code is on GitHub.

View Source →

← Back to Community Feed

}