Answer the question
In order to leave comments, you need to log in
How to record and later get sound in / c Core Data?
All the best!
Here I am trying to work with Core Data, I have already learned how to record and also retrieve some data. Please tell me how to save it there and then get the sound?
So I understand that the algorithm is similar to saving pictures, also NSData and Binary Data
Answer the question
In order to leave comments, you need to log in
Two options:
1) Translate the sound into NSData and store it as NSData
2) Implement the NSCoding protocol, specify Transforamble in the model, save as a sound object
In the model, it is better to take the sound object into a separate class and check the Allows External Storage checkbox.
Here is the link to stackoverflow
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question