how to create ios application in vs?

mc 3,726 Reputation points
2024-05-13T04:00:44.6866667+00:00

there is Android Application in VS. but no ios Application right?

how to create ios? not MAUI just .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
    2024-05-14T02:52:37.52+00:00

    Hello,

    There are .NET iOS project templates in VS.

    Since you can find Android project template, it means that the .NET MAUI workload has been installed.

    If not, you can open Visual Studio Installer, click "Modify" button, and then check .NET Multi-platform App UI development under Workloads tab.

    how to create ios? not MAUI just .net ios.

    Open Visual Studio 2022 (Windows), create a new project (choose a project template), search for .NET iOS, then you can find two templates written by C#, one is iOS Tabbed Application (with tabs), the other is iOS Application (single iOS app).

    If you are using VS for Mac, please follow the steps blow:

    Open VS for Mac->New->iOS->App->.NET->iOS Application/iOS Tabbed Application.


    there is not ios template

    Please run dotnet workload install maui-ios to install.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Bruce (SqlWork.com) 57,886 Reputation points
    2024-05-17T16:07:22.61+00:00

    as Xamarin support ended 5/1/2024, only Maui iOS apps are supported. in VS just create a Maui App. then setup pair to Mac, pick an iOS simulator, and click run.

    note: if you want native iOS app without Maui, there is no template. probably easiest to create a Maui app, and remove the Maui forms references. while not documented, storyboard files are still supported at build, but there is no VS support.