We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving the button at the top right how can I bring up the side menu from the right?
The text was updated successfully, but these errors were encountered:
func animateSideMenu(targetPosition: CGFloat, completion: @escaping (Bool) -> ()) { UIView.animate(withDuration: 0.5, delay: 0, usingSpringWithDamping: 1.0, initialSpringVelocity: 0, options: .layoutSubviews, animations: { if self.revealSideMenuOnTop { self.sideMenuTrailingConstraint.constant = -targetPosition self.view.layoutIfNeeded() } else { self.view.subviews[1].frame.origin.x = targetPosition } }, completion: completion) }
` if self.revealSideMenuOnTop {
// self.sideMenuTrailingConstraint = self.sideMenuViewController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: -self.sideMenuRevealWidth - self.paddingForRotation) //use it for left navigation mneu self.sideMenuTrailingConstraint = self.sideMenuViewController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: self.sideMenuRevealWidth + self.paddingForRotation)
self.sideMenuTrailingConstraint.isActive = true }`
Sorry, something went wrong.
Has anyone modified this for the pan gesture as well? the same drag as it comes from left. If anyone has mapped just update here.
No branches or pull requests
Moving the button at the top right how can I bring up the side menu from the right?
The text was updated successfully, but these errors were encountered: