Getting started with iOS playground
The getting started PDF document to help you get around Nutrient iOS SDK’s UI.
//// Copyright © 2017-2026 PSPDFKit GmbH. All rights reserved.//// The Nutrient sample applications are licensed with a modified BSD license.// Please see License for details. This notice may not be removed from this file.//
import PSPDFKitimport PSPDFKitUI
class PlaygroundExample: Example {
override init() { super.init()
title = "Playground" contentDescription = "Start here!" category = .top targetDevice = [.vision, .phone, .pad] priority = 1 }
override func invoke(with delegate: ExampleRunnerDelegate) -> UIViewController { // Playground is convenient for testing let document = AssetLoader.writableDocument(for: .welcome, overrideIfExists: false)
let controller = AdaptivePDFViewController(document: document) { // Use the configuration to set main options for the Nutrient UI. $0.signatureStore = KeychainSignatureStore() $0.signatureCreationConfiguration.usePencilKit = true }
return controller }}// Unable to fetch the code please try to refresh the page.This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.