Software like Photoshop does the job. Use an Iphone PSD and add your app's screen shot layer on it. There is no other way.
e.g iPhone psd:
http://www.teehanlax.com/tools/iphone/
Screen shots for app store tutorial:
http://www.bluecloudsolutions.com/blog/awesome-screen-shots-app-store/