Cannot open iPhone Control Center on simulator

2020-02-12 02:47发布

I'm new to iOS coming from Android. I try to run simulator and open the Control Center on it. When I swipe from the bottom to up I see that it's empty. Any ideas what's going on with my simulator?

I tried at iPhoneX simulator and have the same.

enter image description here

4条回答
叛逆
2楼-- · 2020-02-12 03:09

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

查看更多
Luminary・发光体
3楼-- · 2020-02-12 03:09

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.

查看更多
Emotional °昔
4楼-- · 2020-02-12 03:12

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)

查看更多
不美不萌又怎样
5楼-- · 2020-02-12 03:24

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 ;]

查看更多
登录 后发表回答