MicrophoneKit is a Swift framework designed to simplify audio recording and microphone handling in iOS applications.
Add the following to your Package.swift dependencies:
.package(url: "https://github.com/digital-medicine/MicrophoneKit.git", from: "1.0.0")Or use Xcode:
- Go to File > Add Packages...
- Enter the repository URL:
https://github.com/digital-medicine/MicrophoneKit - Select the desired version.
import MicrophoneKit
MicrophoneRecordingView(fileName: "testfilename", title: "Title") { url in
print(url)
} closeAction: {
print("closed")
}- iOS 13.0+
- Swift 5.0+