0

I am building Xamarin iOS application which accesses media library.

I putted media library permission usage description in info.plist.

enter image description here

But it doesn't show permission request dialog when I call this method.

MPMediaQuery mq = new MPMediaQuery();

As permission authorization status is not determined, so the app is crashed at that time.

I checked the settings, but I can't see media permission, so I couldn't enable it manually.
Please help me.

Jakob
  • 37
  • 8

1 Answers1

0

During research, I found the solution here.

Security Privacy Enhancements

This happened because I used deprecated description key.
I resolved this issue by using NSAppleMusicUsageDescription instead.

Jakob
  • 37
  • 8