UIImagePickerController(BMKitAdditions) Category Reference
Declared in | UIImagePickerController+BMKitAdditions.h |
Tasks
Setting the Picker Source
-
+ isMediaType:availableForSourceType:
Returns a Boolean value indicating whether a media type is available for a supported source.
Class Methods
isMediaType:availableForSourceType:
Returns a Boolean value indicating whether a media type is available for a supported source.
+ (BOOL)isMediaType:(NSString *)mediaType availableForSourceType:(UIImagePickerControllerSourceType)sourceType
Parameters
- mediaType
A media type.
- sourceType
An UIImagePickerController source type.
Return Value
YES
if the sourceType is supported and the mediaType is available for the sourceType, otherwise NO
is returned.
Declared In
UIImagePickerController+BMKitAdditions.h