EyeQ Docs

iOS SDK

Use the Perfectly Clear SDK in iOS applications with PFC_iOS_Framework.xcframework

The Perfectly Clear iOS SDK (PFC_iOS_Framework.xcframework) brings the full Perfectly Clear image correction engine to native iOS applications. It exposes a Swift-friendly Objective-C API for scene detection, parameter-driven correction, and creative looks — all running on-device.

Requirements

  • iOS 15.0 or later
  • Xcode 14 or later
  • CocoaPods (recommended) or manual xcframework embedding
  • API key and certificate string provided by EyeQ
  • Model files (.pnn) and preset files (.preset, .looks) distributed with the SDK

What's in the SDK

The xcframework ships a set of Objective-C classes that bridge directly into Swift. The core objects you will use in every integration are:

ClassPurpose
PCSEngineCore image processing engine — scene detection, correction apply, creative looks
PCSImageImage wrapper created from UIImage; holds raw pixel data for the engine
PCSParamAll correction parameters (strength, face tools, color, looks)
PCSProfileOpaque color profile returned by detection; must be paired with its image
PCSSceneDetectionResultResult of detectSceneForImage — scene label and profile

Sections

On this page