Post

Replies

Boosts

Views

Activity

Reply to Any way to check if song is in Library with MusicKit? ?relate=library not working for me
Hi Joe, Thanks for responding! I tripple checked and appleMusic is indeed the identifier of a Song object so not sure what's happening there. As in regards to your second request, here is how I'm currently checking in the MPMediaLibrary func checkInLocalLib(with id: String) {         let query = MPMediaQuery.songs()         let allSongs = query.items! as [MPMediaItem]         if allSongs.isEmpty == false {             let matchedSong = allSongs.filter { $0.playbackStoreID == id }             if matchedSong.isEmpty {                 currentSongInLibrary = false             } else {                 currentSongInLibrary = true             }         }     }
Topic: Media Technologies SubTopic: General Tags:
Dec ’21
Reply to How do I access lyrics in MusicKit or Apple Music Catalog
Aah I was afraid this would be the case, will submit feedback! Thanks for responding :)
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to MusicSubscriptionOffer can't be presented without Apple Music App
I also noticed if you have the button that will present the musicSubscriptionOffer use .toggle() instead of = true and you tap that button twice it will make your app crash 😅
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Any way to check if song is in Library with MusicKit? ?relate=library not working for me
Submitted feedback: FB9823513
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Any way to check if song is in Library with MusicKit? ?relate=library not working for me
Hi Joe, Thanks for responding! I tripple checked and appleMusic is indeed the identifier of a Song object so not sure what's happening there. As in regards to your second request, here is how I'm currently checking in the MPMediaLibrary func checkInLocalLib(with id: String) {         let query = MPMediaQuery.songs()         let allSongs = query.items! as [MPMediaItem]         if allSongs.isEmpty == false {             let matchedSong = allSongs.filter { $0.playbackStoreID == id }             if matchedSong.isEmpty {                 currentSongInLibrary = false             } else {                 currentSongInLibrary = true             }         }     }
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21