There are two ways to do this. If you want to run the application using iOS Simulator, you can use audio / video capture software such as http://camstudio.org/ or http://www.techsmith.com/camtasia.html .
If you need to record a video of an application running on an iOS device, this will require a slightly more complicated setup. You will need an Apple TV http://www.apple.com/appletv/ and a DVR. You must connect the Apple TV to the DVR, and then with the DVR you will use the output cable for the TV or monitor. IPhone and Apple TV need to be configured for mirroring . After that, you can design and see the iOS application on the screen (via Wi-Fi) when you record the iOS application on the DVR.
source share