Post

Replies

Boosts

Views

Activity

How to fetch next batch of albums for an Artist?
Hello, I am fetching and displaying the .fullalbums for an Artist through the MusicKit api. The JSON response returned has a hasNextBatch: true value, but I am unsure how to fetch and display the next batch. Is this something that can be intelligently retrieved though some MusicKit functionality or does one have to perform another data request to fetch the next batch?
2
0
1.2k
Aug ’21
How to make navigation bar color clear per view?
Hi there, I would like to make the navigation bar clear in my view. Currently I am using the init() method to achieve this: UINavigationBar.appearance().setBackgroundImage(UIImage(), for: UIBarMetrics.default) UINavigationBar.appearance().shadowImage = UIImage() UINavigationBar.appearance().isTranslucent = true UINavigationBar.appearance().tintColor = .clear UINavigationBar.appearance().backgroundColor = .clear But this makes the navigation bar clear app-wide. How can I make the navigation bar clear for specific view and ensure that view navigating to other views/popping modal they are returned to the default values? P.S I tried using the onAppear method and that doesn't do anything.
0
0
539
Sep ’21
Setting ShuffleMode for ApplicationMusicPlayer no longer works in iOS 16.1 & 16.2
Hi Apple Engineers, I am reporting an issue in iOS 16.1 and iOS 16.2 beta 3 where setting the shuffleMode for ApplicationMusicPlayer is no longer working Here is the code: let player = ApplicationMusicPlayer.shared let tracks = [Tracks] player.queue = ApplicationMusicPlayer.Queue(for: tracks) player.state.shuffleMode = .songs Task.init { try await player.play() } I tested the same code on iOS 15 and it works as expected. Here is the related ticket: FB11840279
1
0
767
Dec ’22
Artwork of Track is not displayed correctly when used within Button in iOS 16.1 & 16.2
Hi Apple Engineers, I am reporting a issue that has surfaced in iOS 16.1 and iOS 16.2 beta, where when you have a long list of Tracks that are in the label of a Buttons, they are are displayed correctly. They appear intermittently, after you scroll they disappear (placeholder is shown) and it required a state change to display the final artwork correctly Here is code: let tracks = [Track] //With Issue List(tracks) { track in Button { //ACTION BLOCL } label: { if let artwork = track.artwork { ArtworkImage(artwork: artwork, width: 50, height: 50) } else { PlaceholderView() } } } //Without Issue List(tracks) { track in if let artwork = track.artwork { ArtworkImage(artwork: artwork, width: 50, height: 50) } else { PlaceholderView() } } Same code works correctly on iOS 15 and also when ArtworkImage is not used inside a button. Here is the related ticket: FB11840336
0
0
960
Dec ’22