iOS ReplayKit in Cocos2dx

I want to add game play recording feature to my iOS game. I know that ReplayKit can do this but I would like to have following information:

  1. How to use ReplayKit in cocos2dx engine? Are there any tutorials for the same?
  2. Are there any other open source game play recording plugins for cocos2dx?

I would appreciate any suggestions and thoughts on this topic. Thank you.

For future, it is to integrate ReplayKit (iOS) in Cocos2D-X game code. You have to write the iOS platform specific methods for capturing the screen using the ReplayKit and call these methods from your C++ code.