---
title: iTunes Library
framework: iTunes Library
role: collection
role_heading: Framework
platforms: [Mac Catalyst 14.0+, macOS 10.13+]
path: ituneslibrary
---

# iTunes Library

Retrieve the properties of the media in the user’s iTunes library.

## Overview

Overview With this framework, you can retrieve media information, such as track and playlist metadata, directly from the user’s iTunes library, eliminating the need to query the iTunes XML file. To use this framework, create an ITLibrary object by calling the libraryWithAPIVersion:error: class method. You can interrogate the instance that returns to obtain its properties and the properties of its media items. For example: important: You must code sign your app to retrieve information with this framework, and iTunes library access is read-only. This framework is available to users with iTunes 11 or later.

## Topics

### Essentials

- [ITLibrary](ituneslibrary/itlibrary.md)

### Albums and Playlists

- [ITLibAlbum](ituneslibrary/itlibalbum.md)
- [ITLibPlaylist](ituneslibrary/itlibplaylist.md)

### Media Items

- [ITLibMediaItem](ituneslibrary/itlibmediaitem.md)
- [ITLibMediaEntity](ituneslibrary/itlibmediaentity.md)
- [ITLibArtist](ituneslibrary/itlibartist.md)
- [ITLibArtwork](ituneslibrary/itlibartwork.md)
- [ITLibMediaItemVideoInfo](ituneslibrary/itlibmediaitemvideoinfo.md)

### Structures

- [DidChangeLibraryMessage](ituneslibrary/didchangelibrarymessage.md)
