I want to store CoreMotion data at 100 Hz, i.e. accelerometer and gyroscope data.
Due to the amount of data points, what considerations and approach should I take when storing the data on the device, for instance I am thinking:
- Save data to a text file (CSV) or CoreData immediately and not in a variable to avoid data loss in the event of app crash
- What limitations should I be aware of if writing continuously to a text file or CoreData?
- Any better approach to storing the data continuously, e.g. storing it in batches every 1 sec.?
- Store the data in a background thread to avoid UI blocking
Post edited by tropic on