How can we display the UiImagepicker controller interface both in camera mode and in video mode, since it is in the default camera application on the iPhone.
UIImagePickerControllerhas a property mediaTypesthat is an array of types that you want to support (image, video, or both):
UIImagePickerController
mediaTypes
http://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/occ/instp/UIImagePickerController/mediaTypes
, , , .
, UIImagePickerController mediaType .
, , iPhone -, , , .
Source: https://habr.com/ru/post/1755511/More articles:How can I get a new object identifier generated by a DB sequence? - c #JPA and database in one bank - javaHow can I check one or more images on a page using Cucumber? - ruby | fooobar.comМогу ли я заставлять зависимость между пространствами имен в С# - c#Creating \ cite behaves like \ textcite in biblatex - latexNHibernate criteria select items by group and itemid total in another table - aggregateКакова связь между z-index и css Position:? - cssHow to work with large numbers? - c ++Managing image tags in SQL - sqlFeatures of the Android SDK "Slide" - androidAll Articles