---
title: "Add PDF functionality on iOS using .NET | Nutrient .NET for iOS SDK"
canonical_url: "https://www.nutrient.io/sdk/dotnet-for-ios/getting-started/"
md_url: "https://www.nutrient.io/sdk/dotnet-for-ios/getting-started.md"
last_updated: "2026-06-09T10:26:34.736Z"
description: "Learn how to integrate Nutrient .NET for iOS SDK into your .NET project. Step-by-step guide for adding PDF viewing, editing, and annotation features."
---

# Add PDF functionality on iOS using .NET

This guide explains how to integrate Nutrient.NET for iOS SDK into a new or existing.NET project. By the end, you’ll be able to display a PDF document using the default Nutrient user interface (UI).

**Jump to iOS specific example**

View the example repo on GitHub.

[Read more](https://github.com/PSPDFKit/dotnet-pdf-library-for-iOS.git)

**Jump to example supporting iOS and Android**

View the example repo on GitHub.

[Read more](https://github.com/PSPDFKit/dotnet-pdf-library-for-mobiles.git)

## Requirements

- [Latest stable version of Visual Studio](https://visualstudio.microsoft.com)

- [Latest stable version of the.NET SDK](https://dotnet.microsoft.com/en-us/download)

- [Latest stable version of the `ios` workload](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-install)

- [Latest stable version of Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12)

- [Latest stable version of the `ios` and `maccatalyst` workloads](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-install)

## Creating a new project

If you already have an existing.NET for iOS or MAUI project that runs on iOS using the latest version of the `ios` or `maui` workloads, jump to the [Adding Nutrient to your project](#adding-nutrient-to-your-project) section.

**Steps:**

1. Use the dotnet [CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new) to create a new iOS solution:

   ```bash

   dotnet new ios -n Nutrient-Demo
   ```

   You can use `dotnet new ios -h` to learn more about the dotnet new ios command.

2. Navigate to your newly created.NET `iOS` project directory, `Nutrient-Demo`:

   ```sh

   cd./Nutrient-Demo
   ```

## Adding Nutrient to your project

### Using.NET CLI

Use the dotnet [CLI](https://learn.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-using-the-dotnet-cli) to add the Nutrient NuGet packages to your solution.

```bash

dotnet add package Nutrient.dotnet.iOS.UI

```

You can use `dotnet add package -h` to learn more about the dotnet add package command.

### Using Visual Studio

**Steps:**

1. Open your solution in Visual Studio.

   ```bash

   open path/to/YourSolution.sln
   ```

2. Right-click your solution in Visual Studio and select the **Manage NuGet Packages…**.

3. In the **Browse** section of nuget.org, search for `Nutrient.dotnet`.

4. Select the Nutrient.dotnet.iOS.UI package.

5. Tap the **Add Packages** button to add the NuGet packages to your solution.

## Displaying document in your app

**Steps:**

1. Open your solution/csproj in Visual Studio if not already open.

   ```bash

   open path/to/YourSolution.sln
   ```

2. Add the document you want to display to your application by dragging it into your solution’s resources. On the dialog that’s displayed, select **OK** to accept the default integration options. You can download our [sample PDF](https://www.nutrient.io/assets/nutrient-media/files/document.pdf) as an example.

3. Import `PSPDFKit.Model` and `PSPDFKit.UI` at the top of your `ViewController.cs` file:

   ```csharp

   using PSPDFKit.Model;
   using PSPDFKit.UI;
   ```

4. Load your document and display the view controller by implementing `FinishedLaunching` in the `AppDelegate.cs` file, as demonstrated in the code sample below:

   ```csharp

   public override bool FinishedLaunching(UIApplication app, NSDictionary options)
   {
     // Create a new window instance based on the screen size
    	Window = new UIWindow (UIScreen.MainScreen.Bounds);

    	// Update to use your document name.
    	var document = new PSPDFDocument (NSUrl.FromFilename ("Document.pdf"));

    	// The configuration object is optional and allows additional customization.
    	var configuration = PSPDFConfiguration.FromConfigurationBuilder ((builder) => {
    		builder.PageMode = PSPDFPageMode.Single;
    		builder.PageTransition = PSPDFPageTransition.ScrollContinuous;
    		builder.ScrollDirection = PSPDFScrollDirection.Vertical;
    	});
    	var pdfViewController = new PSPDFViewController (document, configuration);

    	// Present the PDF view controller within a `UINavigationController` to show built-in toolbar buttons.
    	var navController = new UINavigationController (pdfViewController);
    	Window.RootViewController = navController;

    	// Make the window visible
    	Window.MakeKeyAndVisible ();

    	return true;
   }
   ```

5. Build and run your application.

## Next steps

Nutrient.NET for iOS SDK exposes the APIs from Nutrient iOS SDK to.NET’s C# language. Refer to our [guides](https://www.nutrient.io/guides/ios/intro.md), as they contain all the information you need to get started with Nutrient.