R
R
Robert Khaireev2016-01-31 09:23:04
iOS
Robert Khaireev, 2016-01-31 09:23:04

How to save the video in the application directory?

I have a simple iOS app which is a UITableViewController that displays all the videos recorded with the same app's camera. Videos are saved in the document directory. The question is: how to make sure that in the application directory each new video is assigned a unique random name, and the table cells display the name of the video specified by the user. This is necessary so that you can name several videos the same way.
If the approach I've described is incorrect, I'll be glad to know how to do it right.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2016-01-31
@Vildy

Assign a UUID to each video. Save files by UUID accordingly. Write the UUID and filename to the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question