Cannot open iPhone Control Center on simulator

后端 未结 4 574
面向向阳花
面向向阳花 2020-12-18 21:19

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 g

4条回答
  •  时光说笑
    2020-12-18 22:05

    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 .
    

    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)

提交回复
热议问题