DocScanningSDK_UI PxUiOcrEditorScreen PxUiOcrEditorScreen Class
@MainActor @objc(PxUiOcrEditorScreen) final class PxUiOcrEditorScreen
Ready-to-use OCR results editor screen. Review and correct recognised text over the page.
Initializers Instance Properties Name Summary editedAttributedText The current edited text WITH its attributes (confidence colours on unedited spans, neutral styling on user-typed runs). Adopters that re-present the editor should hold this on dismiss and pass it back as seedText so both the edit and the colours survive re-open. The delegate’s didFinishWithText: carries only the plain string.
Instance Methods Name Summary update(languageSummary:) Refresh the toolbar’s displayed language summary (e.g. after a language change). update(result:image:) Swap in a fresh result + image after a host re-scan (rebuilds the highlighted text, resets the preview, clears the indicator). update(scanProgress:) Drive the determinate re-scan indicator (0…100).
Relationships Inherits From Foundation.NSCoding Foundation.NSExtensionRequestHandling ObjectiveC.NSObjectProtocol Swift.CVarArg Swift.CustomDebugStringConvertible Swift.CustomStringConvertible Swift.Equatable Swift.Hashable Swift.Sendable Swift.SendableMetatype UIKit.UIActivityItemsConfigurationProviding UIKit.UIAppearanceContainer UIKit.UIContentContainer UIKit.UIFocusEnvironment UIKit.UIPasteConfigurationSupporting UIKit.UIResponderStandardEditActions UIKit.UIStateRestoring UIKit.UITraitChangeObservable UIKit.UITraitEnvironment UIKit.UIUserActivityRestoring