Saeed Rahmatolahi
Saeed Rahmatolahi

Reputation: 1338

how to access recorded voices that recorded with Voice Memos or other Recorder Apps in swift 3

I read Similar questions like this question I have an app that should access to recorded sound (with voice Memos or other Recording apps) - I don't want to record sound in my app - I just want to access the recorded sound - I know that there are some limits in Ios for doing this But I think It is possible please help me

Remember That I read Similar questions But My question is different because I don't want to record sounds in my app

Upvotes: 2

Views: 1795

Answers (1)

Alexander
Alexander

Reputation: 2923

Why don`t you try to use AVAudioPlayer of AVFoundationFramework?

You could also try some third-party framework like SwiftySound
https://github.com/adamcichy/SwiftySound

Just to mention: there is also a plenty of system sounds which is sometimes quite useful.

You can see the list at the following link
https://github.com/TUNER88/iOSSystemSoundsLibrary

You can play them by implementing AudioToolbox framework in your project. Add this into a file (if you are using Objective-c) #import <AudioToolbox/AudioToolbox.h>
Then run AudioServicesPlaySystemSound(PUT_SOUND_ID_HERE); somewhere.

Upvotes: 2

Related Questions