Skip to content

CoderHuiYu/RecodeVoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

RecodeVoice

Usage

Swift

1.you can use the ZLRecordButton on view or controller

lazy var recordView: ZLRecordButton = {
        let recordView = ZLRecordButton(frame: CGRect(x: 0, y: 530, width: UIScreen.main.bounds.size.width, height: 50))
        recordView.delegate = self
        return recordView
    }()
  1. Ensure your view controller conforms to the ZLRecordButtonProtocol protocol:
class  YourViewController: ZLRecordButtonProtocol{
   func recordFinishRecordVoice(didFinishRecode voiceData: NSData) {
        // YourViewController code here
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages