PxUiCameraScreen Class

@MainActor @objc(PxUiCameraScreen) final class PxUiCameraScreen

Batteries-included camera screen. Provides the live camera view plus the chrome (close / torch / shutter / border-detector buttons, autoshot progress overlay, detector label) that consumer apps previously had to build themselves.

Overview

Adoption (UIKit):

PxUiCameraScreen *screen = [[PxUiCameraScreen alloc] initWithDelegate:self];
screen.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:screen animated:YES completion:nil];

SwiftUI adopters use PxUiCameraScreenView instead and switch on PxUiCameraScreenResult.

Initializers

NameSummary
init(configuration:delegate:)Creates the camera screen.
init(delegate:)Creates the camera screen with a default configuration.

Instance Properties

NameSummary
configurationThe configuration read when the screen is created.
delegateThe delegate that receives capture, cancel, and failure callbacks.

Relationships

Inherits From

  • UIKit.UIViewController

Conforms To

  • 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
Top