Hello guys I am currently working on an iOS App that lets you Listen to Music and I am using the
MPMusicPlayerController
for playback!When setting up the Music Player I also set the shuffleMode but sometimes setting it fails:
[SDKPlayback] Failed validators: {(
setShuffleMode
)}
Now I would not really have a problem with the failure since I can try it again later tough a big problem is that when this error occurs the whole App freezes.
Since I can/ should call functions of the MPMusicPlayerController only on the Main Thread I don't know how to prevent this from happening.
Is there some check I can make before trying to set ShuffleMode or any other ways you can think of, preventing the App from Freezing?
Thanks a lot for your help