How to record video of ios playback in appium studio

Hi,

On iphone real device i want to record video and save after execution is over.

Is there any way to achieve same? Thanks in advance.