A
A
Aleksandr Govorukhin2017-07-18 12:32:11
Swift
Aleksandr Govorukhin, 2017-07-18 12:32:11

How to play video from CoreData in NSData format in AVPlayer?

Hello! I have a video in Core Data in NSData format, how can I play it in AVPlayer?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Gorb, 2017-07-19
@AntonGorb

Why not just save the video in the Document Directory and then just pass the path to AVPlayer?

A
Aleksandr Govorukhin, 2017-07-20
@SnapSh0t

Is there a way to not display them in the gallery? If it is, then, of course, this would be the best method.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question