Recording iphone screen while running app on xcode

血红的双手。 提交于 2020-01-03 08:55:33

问题


I want to test an app with some users and I want to record the iphone screen while I'm running the app on Xcode. I want to do it this way so I can see exactly what the user has been doing while I see all the output and nslogs from Xcode.

Does anybody knows any software that allows this?

Thanks!


回答1:


Yes, open quicktime and next.. ⌘ + ⌥ + N, in the screen click on the record button arrow and choose your device.

EDIT: from iOS 11 you can record the iPhone screen enabling the screen record.

  1. Launch Settings, and select Control Center.
  2. Add Screen Recording.
  3. Swipe-up from the bottom of the display to reveal Control Center.
  4. Tap Screen Recording button.




回答2:


Use QuickTimePlayer:

  1. Connect iDevice to Mac.
  2. Open QuickTime
  3. File > New Movie Recording
  4. If you don't see your screen mirrored immediately, go to the dropdown arrow next to the record button and select Camera > iDevice

If you are recording from iOS Simulator:

  1. Start everything up in iOS Simulator
  2. Open QuickTime
  3. File > New Screen Recording
  4. Press record button. You will now be given the option to drag out an area of the screen to record.



回答3:


To take a screenshot, use the screenshot operation:

xcrun simctl io booted screenshot

To record a video, use the recordVideo operation:

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



回答4:


This has already been answered in this forum at this post

Capture iOS Simulator video for App Preview

Anyways, you can use QuickTime recorder to record your app running on the iPhone



来源:https://stackoverflow.com/questions/31792488/recording-iphone-screen-while-running-app-on-xcode

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