How to record a video in iOS

前端 未结 4 1467
故里飘歌
故里飘歌 2020-12-29 17:19

Hi I would like to record a video in iPhone through Objective-C. Can someone provide me the sample code to write my own code. I have no idea how to do it. And i need it in h

4条回答
  •  难免孤独
    2020-12-29 18:03

    See Apple's overview of "Taking Pictures and Movies" here.

    For a quick solutions, you should use UIImagePicker, which allows you to capture photos/video in your application using Apple's UI.

    The Apple documentation for this class is here: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

提交回复
热议问题