According to this announcement by Apple: https://devforums.apple.com/thread/34908 UIGetScreenImage() could be used for screen capturing.
At a later announcement (https://devforums.apple.com/thread/61338) Apple said we should instead use AVCaptureSession and related classes in the AV Foundation Framework.
Doesn't it make sense to change CaptureRecord to comply with the above?
Alex