Giter Site home page Giter Site logo

zhrecord's Introduction

ZHRecord

仿微信录音

##一、API介绍 ####最短的录音时间 @property (nonatomic, assign) CGFloat minRecordTime;

####最大录音时间 @property (nonatomic, assign) CGFloat maxRecordTime;

####录音文件的路劲,创建record对象,此属性才有值 @property (nonatomic, copy) NSString *recordFilePath;

####创建单例类 + (instancetype)shareZHRecordTool;

####开始录音 - (void)startRecord;

####停止录音,返回bool判断录音时间是否正确 - (BOOL)stopRecord;

####取消录音,会删除当前录音文件 - (void)cancelRecord;

####播放当前录音 - (void)playRecord;

####根据音频文件的路劲来播放音频 - (void)playAudioWith:(NSString *)filePath;

####停止播放音频 - (void)stopPlayAudio;

####更新HUD图片

 - (void)updateHUDImageView:(NSString *)imageName;

####更新HUD标题 - (void)updateHUDTitle:(NSString *)title;

- (void)startUpdateVolumeMeters;

- (void)stopUpdateVolumeMeters;

##二、效果预览 效果图

zhrecord's People

Contributors

zhdeveloper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.