mirror of
https://gitee.com/shuto/customCamera.git
synced 2026-05-21 00:00:01 +08:00
20 lines
406 B
Objective-C
20 lines
406 B
Objective-C
#import <Cordova/CDV.h>
|
|
|
|
@interface CustomCamera : CDVPlugin<UIImagePickerControllerDelegate, UINavigationControllerDelegate>
|
|
{
|
|
CDVInvokedUrlCommand *lastCommand;
|
|
|
|
NSString *filename;
|
|
CGFloat quality;
|
|
CGFloat targetWidth;
|
|
CGFloat targetHeight;
|
|
|
|
int nDestType;
|
|
int nSourceType;
|
|
NSString* strPhotoName;
|
|
|
|
}
|
|
- (void)startCamera:(CDVInvokedUrlCommand*)command;
|
|
|
|
@end
|