摘要:
AVCaptureDevice.h,主要用来获取iphone一些关于相机设备的属性。AVCaptureDevice.h,必须要引入AVFoundation.framework包。1. 前置和后置摄像头enum { AVCaptureDevicePositionBack = 1,AVCapture... 阅读全文
摘要:
#importintmain(intargc,constchar* argv[]){//可变字典NSMutableDictionary* set = [[NSMutableDictionary alloc]init];[setsetValue:@"shdf"forKeyPath:@"1"];[set... 阅读全文
摘要:
#import"ViewController.h"@interfaceViewController()AVAudioPlayerDelegate>@property(nonatomic,strong)UIProgressView* progressView;@property(nonatomic,s... 阅读全文
摘要:
#import"ViewController.h"@interfaceViewController()@property(nonatomic,strong)UILabel* label;@end@implementationViewController- (void)viewDidLoad {[su... 阅读全文
摘要:
@interfaceViewController()@property(nonatomic,strong)UIButton* button;-(void)btnshort;//短按回调方法-(void)btnlong:(UILongPressGestureRecognizer*)gestureRec... 阅读全文