update platformiOS.mm for latest iOS 8 about `interfaceOrientation` in UIViewController had bee deprecated since iOS 8.0

* fixed: a bug that original interface orientation enum had been deprecated from iOS 8.0. using new method to solve this issue.

! update: git ignore had been updated for Xcode.