I have set up an SWRevealController menu that slides out from the right side of my app. I have a button on the right hand side of my navigation bars that reveals the menu. I am trying to disable user interaction on the front view when the menu is open. I have tried following this but i am struggling. The class name that controls the menu is menuTableViewController.swift. Can someone explain how i do this in swift?
Related
I have two buttons. When I click on one button, it will go to the view controller and from that I'm navigating using a left slide menu. My issue is that if I click the other button it should also navigate through the left slide menu - but I'm able to navigate only the one view.
I have an slider menu in my iOS project which opens by default from left to right. I wanted to ask how can I make it open from right to left. There are many android topics on this but I didn't find any iOS tips for doing this.
Thanks very much
If you are using AMSlideMenu (https://github.com/SocialObjects-Software/AMSlideMenu), you need to drag a segue between the main view and your right menu view, and you choose slide menu right menu, then implement the method segueIdentifierForIndexPathInRightMenu. The segue takes care that the menu will open, and the rightmenu option assures the menu will open from right to left. Next video explains it all :
https://www.youtube.com/watch?v=y33t_bWS_Zk
I am using SWRevealViewController library for making side bar menu in IOS from the link http://www.appcoda.com/ios-programming-sidebar-navigation-menu/
The problem is that when the sidebar menu is opened I don't want the user to access the main view ( it is the viewController in which I have the navigation button and the pan gesture for getting the slider out are present ) so that when side bar is opened and user is touching right of the screen on the main view any button or any tableView on the main view should not be accessible. Can anyone tell me how to do this in this library
This is a simple question. So I have a tabbed bar application with a More... tab button. I was wondering if it's possible to make the More... button be a slide out menu button? I found tutorials on how to do it on a regular app design but things get a little more complicated when it comes to the tabbed bar application.
The thing is that you don't own the More button in the tab bar of a UITabBarController, so you can't control what happens. (You can access the navigation controller that appears when the More button is tapped, but it's still going to be just another view controller whose view is displayed above the tab bar.) If you want to write a new interface you'll have to write a whole new interface, i.e. don't use the built-in UITabBarController. That's no big deal; it isn't doing anything you can't manage to do yourself.
I've implemented a sliding menu nav using SWRevealViewController (which works great). I was able to easily make it so i could swipe right to see the menu by adding this line to my
[self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer];
The menu nav would then show up on the left side of the screen (my main view controller would move to the right). However I am unable to swipe the screen back -- I am forced to tap on the main screen to have it move back (hiding the menu nav in the process). Is there an easy way to implement this?