UIImagePickerController.AvailableMediaTypes 方法

定义

指定源类型的可用媒体类型。

[Foundation.Export("availableMediaTypesForSourceType:")]
public static string[] AvailableMediaTypes (UIKit.UIImagePickerControllerSourceType sourceType);
static member AvailableMediaTypes : UIKit.UIImagePickerControllerSourceType -> string[]

参数

sourceType
UIImagePickerControllerSourceType

用于选取图像的源。

返回

String[]

一个数组,元素标识指定源类型的可用媒体类型。

属性

适用于