-3

Is there a way inside an iOS Swift app of mine, to access the sound files I already have available in my itunes library on the same device?

Browsing the net I came accross something called File-Sharing and the UIFileSharingEnabled key, but that does not seem to be quite what I am looking for.

Michel
  • 10,303
  • 17
  • 82
  • 179

1 Answers1

1

The files? I’m not sure.. if so only those you downloaded or bought on iTunes. For access to Apple Music you probably want to look into MusicKit.

However, there’s a way to get MediaItems via MPMediaPickerController (docs)

thisIsTheFoxe
  • 1,584
  • 1
  • 9
  • 30