title: How to record IOS screen programmatically
body: <p>Is there any way to record IOS screen programmatically. Means whatever activity you are doing like clicking buttons, Scrolling tableviews.</p>
  
  <p>Even if a video is playing that will be captured again along with some other activity?</p>
  
  <p>Have tried these</p>
  
  <ol>
  <li><a href="https://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos" rel="noreferrer">https://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos</a></li>
  <li><a href="https://github.com/alskipp/ASScreenRecorder" rel="noreferrer">https://github.com/alskipp/ASScreenRecorder</a></li>
  </ol>
  
  <p>but with these libraries won't provide quality video. I need quality video.</p>
  
  <p>The issue is that with video playing in the background when i capture screen it does not show smooth video. It shows like one frame of video and then after 3-4 secs 2nd frame and so on. Also quality of video is not good its blurred</p>