ReplayKit is a new framework that was introduced alongside iOS 9. It allows game developers to give players the ability to easily record and share gameplay. In addition to recording and sharing, ReplayKit also includes a fully functional user interface that players can use to edit their video clips.
Full article