After making sure that the user has enabled MPMediaLibrary.authorizationStatus(), I use the following code to launch MPMediaPickerController:
import MediaPlay