What problem does it solve?
Provides a unified, system-standard markup and drawing framework so apps can offer high-quality annotation, shape recognition, and PencilKit-backed drawing without building custom editors from scratch.
Core Features & Use Cases
- Integrated Markup Editor: PaperMarkupViewController hosts freeform PencilKit drawing alongside structured markup elements like shapes, text boxes, and images.
- Data Model & Persistence: PaperMarkup supports async dataRepresentation persistence, content-version checks, merging PKDrawing, and safe forward-compatibility handling.
- Platform Integration & Tools: Includes insertion controllers (MarkupEditViewController / MarkupToolbarViewController), FeatureSet configuration, PKToolPicker integration, HDR rendering options, and SwiftUI wrappers for multi-platform apps.
- Use Case: Embed PaperMarkupViewController to let users annotate documents, save a thumbnail for previews, migrate existing PencilKit drawings, and restrict features via custom FeatureSet presets.
Quick Start
Ask the skill to integrate PaperMarkupViewController into your view controller and provide a PaperMarkup-backed save/load flow for iOS 26+.