Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot open iPhone Control Center on simulator

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

like image 927
Vitalii Avatar asked Apr 13 '18 12:04

Vitalii


People also ask

How do I open the keypad in iOS simulator?

Just press ⌘K it will toggle keyboard.

How do I connect my iPhone to simulator?

Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.


2 Answers

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

like image 94
Andy Obusek Avatar answered Sep 26 '22 09:09

Andy Obusek


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)

like image 36
IonicBurger Avatar answered Sep 24 '22 09:09

IonicBurger