iOS-Slide-Menu icon indicating copy to clipboard operation
iOS-Slide-Menu copied to clipboard

the left slide menu location is wrong if the iPhone(iOS < 8.0,) is facing up on the desk.

Open gaurence opened this issue 10 years ago • 3 comments

the method moveHorizontallyToLocation in SlideNavtivationController.m if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) { rect.origin.x = location; rect.origin.y = 0; } else { if (UIDeviceOrientationIsLandscape(orientation)) { rect.origin.x = 0; rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location : location_-1; } else { rect.origin.x = (orientation == UIDeviceOrientationPortrait) ? location : location_-1; rect.origin.y = 0; } } rect.origin.x = (orientation == UIDeviceOrientationPortrait) ? location : location_-1;; it is not complete. after change it to rect.origin.x = (orientation == UIDeviceOrientationPortrait||orientation == UIDeviceOrientationFaceUp) ? location : location_-1; the the slide menu behaviors correct.

please check,thanks Michael

gaurence avatar Apr 24 '15 06:04 gaurence

still there is a replicate animation issue when click the item of menu. need to check. SlideNavigationContorllerAnimatorSlide

gaurence avatar Apr 24 '15 06:04 gaurence

I had the same issue, I changed it back to deprecated function and this working again

UIDeviceOrientation orientation = self.interfaceOrientation

vladik1985ab avatar Jun 22 '15 08:06 vladik1985ab

I am also experiencing this issue and reverted back to an older version to avoid. Is there any progress on a solution in a newer version?

jdmunro avatar Jul 24 '15 16:07 jdmunro