Android 相机多次点击录像会报错

   日期:2024-12-27    作者:v0dg8 移动:http://mip.riyuangf.com/mobile/quote/60963.html

属性

Android 相机多次点击录像会报错

@property(nonatomic)           UIImagePickerControllerSourceType     sourceType

@property(nonatomic,copy)      NSArray                              *mediaTypes

@property(nonatomic)           NSTimeInterval                        videoMaximumDuration

@property(nonatomic)           UIImagePickerControllerQualityType    videoQuality

@property(nonatomic)           BOOL                                  showsCameraControls

@property(nonatomic,retain)    UIView                                *cameraOverlayView 

@property(nonatomic)           CGAffineTransform                     cameraViewTransform

@property(nonatomic) UIImagePickerControllerCameraCaptureMode cameraCaptureMode

@property(nonatomic) UIImagePickerControllerCameraDevice      cameraDevice

@property(nonatomic) UIImagePickerControllerCameraFlashMode   cameraFlashMode 

类方法

+ (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType

+ (NSArray *)availableMediaTypesForSourceType:(UIImagePickerControllerSourceType)sourceType

+ (BOOL)isCameraDeviceAvailable:(UIImagePickerControllerCameraDevice)cameraDevice

+ (BOOL)isFlashAvailableForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice

+ (NSArray *)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice

对象方法

- (void)takePicture 

- (BOOL)startVideoCapture 

- (void)stopVideoCapture

代理方法

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info

- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker

扩展方法(主要用于保存照片、视频到相簿)

UIImageWriteToSavedPhotosAlbum(UIImage *image, id completionTarget, SEL completionSelector, void *contextInfo)


特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。


举报收藏 0评论 0
0相关评论
相关最新动态
推荐最新动态
点击排行
{
网站首页  |  关于我们  |  联系方式  |  使用协议  |  隐私政策  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报  |  鄂ICP备2020018471号