Sanjay G
Sanjay G

Reputation: 25

Convert Xamarin Native IOS swift UI to MAUI?

I have a Project, which is having Xamarin native IOS, and IOS designs are done in swift and Xcode, is there any way to convert this Project into MAUI?

Do I need to totally Rewrite the project or just need to Follow some steps to Convert this swift ui as XAML and use the other cs Files as it is?

Upvotes: 1

Views: 489

Answers (1)

Jessie Zhang -MSFT
Jessie Zhang -MSFT

Reputation: 13803

Native Xamarin.iOS projects can upgrade to .Net for iOS without needing to convert to the full Maui UI. You don't need to rewrite the native UI in Xaml to use it with .Net for iOS. You'll need to update the project to SDK style, and you may need to update some of the cs code, but most should work as is.

For more information, you can check the official document Upgrade from Xamarin to .NET.

Xamarin projects can run on .NET after completing an upgrade process.

To upgrade an app from Xamarin to .NET:

  • All projects do need to become SDK-style.
  • Projects don't need to be rewritten.
  • Multi-project solutions don't need to become a multi-targeted single project.

For more information, see Upgrade Xamarin.Android, Xamarin.iOS, and Xamarin.Mac projects to .NET.

Upvotes: 1

Related Questions