how to capture video in iPhone

后端 未结 2 1279
一整个雨季
一整个雨季 2021-02-06 14:54

I am creating application for video app in iPhone, but I don\'t know how to capture a video in iPhone; and I want to store them in SQLite database, but I have one problem: can I

2条回答
  •  萌比男神i
    2021-02-06 15:05

    You would be able to store the video data in sqlite as raw data BUT I would strongly recommend AGAINST this. The performance would be awful. Better to save the video to the documents directory and then a path to that in the DB.

    If you are working with sqlite then you should look at CoreData, it makes managing persistence a lot easier... download the source code for my core data tutorial as it contains a nice storage service wrapper... tutorial here

提交回复
热议问题