传输中的初始化播放器,

-(void)initVoiceModule

{

    //初始化录音vc

    self.recorderVC = [[ChatVoiceRecorderVCalloc]init];

    self.recorderVC.vrbDelegate = self;

    

    //初始化播放器

    self.player = [[AVAudioPlayer alloc]init];

    

    //添加长按手势

    UILongPressGestureRecognizer *longPrees = [[UILongPressGestureRecognizeralloc]initWithTarget:selfaction:@selector(recordWav:)];

    longPrees.delegate = self;

    [bottomView.recordBtnaddGestureRecognizer:longPrees];

}

传输中的初始化播放器,

上一篇:Java中普通代码块,构造代码块,静态代码块区别及代码示例


下一篇:VMware 12 安装 Windows server 2008 系统