To screencast any iPhone or iPad, connect your device to your Mac and open quick time player on Mac. Once you open the app, click on file->new, it will start your webcam, from recording option select your device, quick time player will start displaying your device screen. Start recording button and it will start recording your activities from your device in video format. Once completed save your video. Now you can use your video to demonstrate your tutorial or app review etc.