Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
abcmx-lbx committed Sep 2, 2020
1 parent 07da81a commit 8ea0631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LBXScan/LBXZXing/ZXingWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//相机启动完成
@property (nonatomic, copy) void (^onStarted)(void);

@property (nonatomic, assign) AVCaptureVideoOrientation orientation;
@property (nonatomic, assign) NSInteger orientation;
@property (nonatomic, assign) CGRect videoLayerframe;
/**
初始化ZXing
Expand Down
2 changes: 1 addition & 1 deletion LBXScan/LBXZXing/ZXingWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ - (void)stop
[self.capture stop];
}

- (void)setOrientation:(AVCaptureVideoOrientation)orientation
- (void)setOrientation:(NSInteger)orientation
{
_orientation = orientation;

Expand Down

0 comments on commit 8ea0631

Please sign in to comment.