Cannot open iPhone Control Center on simulator

元气小坏坏 提交于 2019-12-01 03:39:48

Unfortunately the Simulator does not show a true Control Center. Yes, a blank screen appears, but no controls are available in there. Welcome to iOS ;]

The problem not in Xcode but in iOS 11 simulator

Solved

I download iOS 10 simulator and control-center work good in Xcode 9.3

Control Center is not available in iOS Simulator but if you are looking for notification center, you can get it by swiping top-down on iOS simulator. You can test local notifications on simulator

I needed to do this specifically to do a screen recording, but I realised you can't do it that way. So I found out about this way https://medium.com/@skounis/take-a-screenshot-or-record-video-with-ios-simulator-90c196e03b67 for anyone looking to do the same.

xcrun simctl io booted recordVideo <filename>.<extension>

To stop recording, press Control-C in Terminal.

PS - for iPhone X emulator you need to swipe from the top right down (even though that doesn't get you what you want)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!