Hi, I am planning to save audio files (voice memos from audio recorder) in core data using external storage functionality. I cannot save the files elsewhere and hold the file name only in core data, because I want to use CloudKit to synchronise the data between devices.
I am looking for some example code, how to store speech memo in core data and how to fetch it to the app. I know, I need to use "binary data" as data type and use external storage functionality. But how do I save the voice memo to the core data?
I am looking for some example code, how to store speech memo in core data and how to fetch it to the app. I know, I need to use "binary data" as data type and use external storage functionality. But how do I save the voice memo to the core data?