remove quirk code
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/11135f78 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/11135f78 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/11135f78 Branch: refs/heads/1.0.x Commit: 11135f7869134d505c1201ff825f60bd89a6e51e Parents: 875b55e Author: Jesse MacFadyen <[email protected]> Authored: Fri Apr 22 15:17:02 2016 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Fri Apr 22 15:17:02 2016 -0700 ---------------------------------------------------------------------- src/ios/CDVCompass.m | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/11135f78/src/ios/CDVCompass.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVCompass.m b/src/ios/CDVCompass.m index ebe6b60..86c4ed7 100644 --- a/src/ios/CDVCompass.m +++ b/src/ios/CDVCompass.m @@ -198,8 +198,6 @@ // helper method to check the orientation and start updating headings - (void)startHeadingWithFilter:(CLLocationDegrees)filter { - // FYI UIDeviceOrientation and CLDeviceOrientation enums are currently the same - self.locationManager.headingOrientation = (CLDeviceOrientation)self.viewController.interfaceOrientation; self.locationManager.headingFilter = filter; [self.locationManager startUpdatingHeading]; self.headingData.headingStatus = HEADINGSTARTING; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
