ios 14 simulator screen recording code example
Example: screen record ios simulator
// when iOS simulator is running
xcrun simctl io booted recordVideo <filename>.<file extension>
// when iOS simulator is running
xcrun simctl io booted recordVideo <filename>.<file extension>