IMGLYCameraViewController
open class IMGLYCameraViewController : UIViewController
extension IMGLYCameraViewController: IMGLYCameraControllerDelegate
extension IMGLYCameraViewController: UIImagePickerControllerDelegate, UINavigationControllerDelegate
Undocumented
-
Undocumented
Declaration
Swift
public convenience init()
-
This initializer should only be used in Objective-C. It expects an NSArray of NSNumbers that wrap the integer value of IMGLYRecordingMode.
Declaration
Swift
public convenience init(recordingModes: [NSNumber])
-
Initializes a camera view controller.
:param: recordingModes An array of recording modes that you want to support.
:returns: An initialized IMGLYCameraViewController.
:discussion: If you use the standard
init
method orinitWithCoder
to initialize aIMGLYCameraViewController
object, a camera view controller with all supported recording modes is created.Declaration
Swift
public init(recordingModes: [IMGLYRecordingMode])
-
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var backgroundContainerView: UIView { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var topControlsView: UIView { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var cameraPreviewContainer: UIView { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var bottomControlsView: UIView { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var flashButton: UIButton { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var switchCameraButton: UIButton { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var cameraRollButton: UIButton { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var actionButtonContainer: UIView { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var recordingTimeLabel: UILabel { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) var actionButton: UIControl? { get }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var filterSelectionButton: UIButton { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var filterIntensitySlider: UISlider { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var swipeRightGestureRecognizer: UISwipeGestureRecognizer { get set }
-
Undocumented
Declaration
Swift
open fileprivate(set) lazy var swipeLeftGestureRecognizer: UISwipeGestureRecognizer { get set }
-
Undocumented
Declaration
Swift
public let recordingModes: [IMGLYRecordingMode]
-
Undocumented
Declaration
Swift
open fileprivate(set) var currentRecordingMode: IMGLYRecordingMode { get set }
-
Undocumented
Declaration
Swift
open var squareMode: Bool { get set }
-
Undocumented
Declaration
Swift
public let filterSelectionController: IMGLYFilterSelectionController
-
Undocumented
Declaration
Swift
open fileprivate(set) var cameraController: IMGLYCameraController? { get }
-
The maximum length of a video. If set to 0 the length is unlimited.
Declaration
Swift
open var maximumVideoLength: Int { get set }
-
Undocumented
Declaration
Swift
open var completionBlock: IMGLYCameraCompletionBlock?
-
Undocumented
Declaration
Swift
override open func viewDidLoad()
-
Undocumented
Declaration
Swift
open override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
open override func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
open override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
open override func viewDidDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
open override var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
-
Undocumented
Declaration
Swift
open override var preferredStatusBarStyle: UIStatusBarStyle { get }
-
Undocumented
Declaration
Swift
open override var prefersStatusBarHidden: Bool { get }
-
Undocumented
Declaration
Swift
open override var shouldAutorotate: Bool { get }
-
Undocumented
Declaration
Swift
open override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
-
Undocumented
Declaration
Swift
open func setLastImageFromRollAsPreview()
-
Undocumented
Declaration
Swift
@objc open func changeFlash(_ sender: UIButton?)
-
Undocumented
Declaration
Swift
@objc open func switchCamera(_ sender: UIButton?)
-
Undocumented
Declaration
Swift
@objc open func showCameraRoll(_ sender: UIButton?)
-
Undocumented
Declaration
Swift
@objc open func takePhoto(_ sender: UIButton?)
-
Undocumented
Declaration
Swift
@objc open func recordVideo(_ sender: IMGLYVideoRecordButton?)
-
Undocumented
Declaration
Swift
@objc open func toggleFilters(_ sender: UIButton?)
-
Undocumented
Declaration
Swift
public func cameraControllerDidStartCamera(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraControllerDidStopCamera(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraControllerDidStartStillImageCapture(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraControllerDidFailAuthorization(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, didChangeToFlashMode flashMode: AVCaptureDevice.FlashMode)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, didChangeToTorchMode torchMode: AVCaptureDevice.TorchMode)
-
Undocumented
Declaration
Swift
public func cameraControllerDidCompleteSetup(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, willSwitchToCameraPosition cameraPosition: AVCaptureDevice.Position)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, didSwitchToCameraPosition cameraPosition: AVCaptureDevice.Position)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, willSwitchToRecordingMode recordingMode: IMGLYRecordingMode)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, didSwitchToRecordingMode recordingMode: IMGLYRecordingMode)
-
Undocumented
Declaration
Swift
public func cameraControllerAnimateAlongsideFirstPhaseOfRecordingModeSwitchBlock(_ cameraController: IMGLYCameraController) -> (() -> Void)
-
Undocumented
Declaration
Swift
public func cameraControllerFirstPhaseOfRecordingModeSwitchAnimationCompletionBlock(_ cameraController: IMGLYCameraController) -> (() -> Void)
-
Undocumented
Declaration
Swift
public func cameraControllerAnimateAlongsideSecondPhaseOfRecordingModeSwitchBlock(_ cameraController: IMGLYCameraController) -> (() -> Void)
-
Undocumented
Declaration
Swift
public func cameraControllerDidStartRecording(_ cameraController: IMGLYCameraController)
-
Undocumented
Declaration
Swift
public func cameraControllerDidFailRecording(_ cameraController: IMGLYCameraController, error: NSError?)
-
Undocumented
Declaration
Swift
public func cameraControllerDidFinishRecording(_ cameraController: IMGLYCameraController, fileURL: URL)
-
Undocumented
Declaration
Swift
public func cameraController(_ cameraController: IMGLYCameraController, recordedSeconds seconds: Int)
-
Undocumented
Declaration
Swift
public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any])
-
Undocumented
Declaration
Swift
public func imagePickerControllerDidCancel(_ picker: UIImagePickerController)