Is there a way to programmatically create a panoramic image using an iPhone camera? as in iOS 6 panorama capture function.
Any idea how this works or an API on it that helps me. thanks in advance
It's impossible. Apple has not provided an API for developers. This function has only a camera app. And yes, this is a duplicate.
Hooray!
As already mentioned, Apple does not have an API for this, but there are open source projects, see this question: 360 ยฐ panoramic libraries for ios