I had developed my app for iOS 9+ devices few months back and at that time MPNowPlayingInfoCenter
was working as expected. But recently I updated my XCode also to latest 9.3 and due to some Pods library being updated I had to change the Deployment Target
to 10.0. Since then the MPNowPlayingInfoCenter
stops working and never shows up on lock screen on any Simulator devices.
MPNowPlayingInfoCenter.default().nowPlayingInfo = [
MPMediaItemPropertyTitle: self.playerItem.title.br2Sp.stripTags,
MPMediaItemPropertyArtist: self.playerItem.artist.br2Sp.stripTags,
MPNowPlayingInfoPropertyPlaybackRate: player.rate
]
Any idea what has changed since then?
P.S. By stops working I mean that my above code no longer displays the Now Playing
info on lock screen.
In American Truck Simulator and Euro Truck Simulator 2, the console can be opened by pressing "~", but it has to be enabled first.
Testing Dark Mode on an iOS SimulatorGo to Settings. Select Dark Appearance.
To do this, set keyboard focus on the simulator window then enable VoiceOver. From here you'll be able to use the Virtual Cursor to move between items on the screen. In order to interact with clickable items in the app, use the VO + Space key.
After searching a lot, I finally came to know that iOS Simulator v11.3 does not have support yet for Control Panel and it shows a frosted screen without any controls. I have downloaded iOS Simulator v10.3.1 and its now showing up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With