Reputation: 1556
I am developing a iPhone application with Local Music and i am using 'MPMediaPickerController' to show local song. but i don't know how to add some functionality on plus icon given below. Can someone please explain to me how to create some action on plus icon.
ScreenShot:
Upvotes: 0
Views: 197
Reputation: 261
Try adopting MPMediaPickerControllerDelegate protocol and implementing the following method
func mediaPicker(_ mediaPicker: MPMediaPickerController,
didPickMediaItems mediaItemCollection: MPMediaItemCollection)
Upvotes: 1