I wanna show command center in lock screen but it work on real device and not working on simulator.
Apple remove RemoteCommandCenter simulation since iOS 11,
RemoteCommandCenter
so i suggest you to use iOS 10.x simulator to debug RemoteCommandCenter.