First ios build with templates.

- Added support for orientation