Type Method


Returns whether the app can access the user's media library.


+ (MPMediaLibraryAuthorizationStatus)authorizationStatus;

Return Value

The status representing whether the app has access to the user's media library.

See Also

Getting the Default Media Library

+ requestAuthorization:

Displays a user interface so that the user can authorize whether your app may view the media library's contents.


The list of possible states for authorization to access to the user's media library.

+ defaultMediaLibrary

Returns an instance of the default media library.