TuSDKPFCameraView Class Reference

Inherits from UIView
Conforms to TuSDKPFCameraSettingDelegate
Declared in TuSDKPFCameraView.h

Overview

默认相机视图

  configBarViewClazz

默认相机控制栏视图类 (默认:TuSDKPFCameraConfigView, 需要继承 TuSDKPFCameraConfigView)

@property (nonatomic, strong) Class configBarViewClazz

Declared In

TuSDKPFCameraView.h

  bottomBarViewClazz

默认相机底部栏视图类 (默认:TuSDKPFCameraBottomView, 需要继承 TuSDKPFCameraBottomView)

@property (nonatomic, strong) Class bottomBarViewClazz

Declared In

TuSDKPFCameraView.h

  settingViewClazz

设置视图类 (默认:TuSDKPFCameraSettingView, 需要继承 TuSDKPFCameraSettingView)

@property (nonatomic, strong) Class settingViewClazz

Declared In

TuSDKPFCameraView.h

  filterViewClazz

滤镜视图类 (默认:TuSDKPFCameraFilterGroupView, 需要继承 TuSDKPFCameraFilterGroupView)

@property (nonatomic, strong) Class filterViewClazz

Declared In

TuSDKPFCameraView.h

  displayView

显示图像视图

@property (nonatomic, readonly) UIView *displayView

Declared In

TuSDKPFCameraView.h

  configBar

默认相机控制栏视图

@property (nonatomic, readonly) TuSDKPFCameraConfigView *configBar

Declared In

TuSDKPFCameraView.h

  bottomBar

默认相机底部栏视图

@property (nonatomic, readonly) TuSDKPFCameraBottomView *bottomBar

Declared In

TuSDKPFCameraView.h

  settingView

设置视图

@property (nonatomic, readonly) TuSDKPFCameraSettingView *settingView

Declared In

TuSDKPFCameraView.h

  filterView

滤镜列表视图

@property (nonatomic, readonly) TuSDKPFCameraFilterGroupView *filterView

Declared In

TuSDKPFCameraView.h

  delegate

滤镜视图

@property (nonatomic, weak) id<TuSDKPFCameraViewDelegate> delegate

Declared In

TuSDKPFCameraView.h

– needUpdateLayout

更新布局

- (void)needUpdateLayout

Declared In

TuSDKPFCameraView.h

– orientationChanged:

通知系统旋转

- (void)orientationChanged:(UIDeviceOrientation)deviceOrientation

Parameters

deviceOrientation

设备方向

Declared In

TuSDKPFCameraView.h

– buildFilterView:

创建滤镜视图

- (void)buildFilterView:(BOOL)showFilterDefault

Parameters

showFilterDefault

是否默认显示滤镜列表

Declared In

TuSDKPFCameraView.h

– buildAlbumButton

创建相册按钮,点击后请求跳转到相册

- (void)buildAlbumButton

Declared In

TuSDKPFCameraView.h

– showBottomBar

显示底部栏

- (void)showBottomBar

Declared In

TuSDKPFCameraView.h

– setGuideLineViewState:

初始化辅助线状态

- (void)setGuideLineViewState:(BOOL)isShowGuideLine

Parameters

isShowGuideLine

是否显示辅助线

Declared In

TuSDKPFCameraView.h

– setDefaultFlashMode:

初始化闪光灯状态

- (void)setDefaultFlashMode:(AVCaptureFlashMode)flashMode

Parameters

flashMode

闪光灯状态

Declared In

TuSDKPFCameraView.h