PHProjectInfo

PHProjectInfo

PHProjectInfo Class of PhotosUI Information about the project extension.

class PHProjectInfo

Overview

macOS Photos automatically generates a PHProjectInfo object when creating a new project. Photos passes along the project information with a PHProjectExtensionContext object. This object contains metadata about the project’s creation source, sections, product type, branding, and page numbers. Your extension leverages project information to influence project layout, autoflow, and theme selection. The properties of this class are immutable, and your extension can’t instantiate the object directly.