update project
Added support for iOS 6 rotation fix #18