Implementing two slideMenus in left side using MFSlideMenu - ios

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.

Related

Disable front view interaction SWRevealController

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?

Swift - Bar Button Item support function

I have a Bar Button Item in the navigation bar of the view (Edit Button). Unlike other buttons (UIButton), I am unable to press ctrl and drag to view controller to create a function to handle it. I want when the button is pressed, a function body to execute.
How can I link them?
Just show the assistant editor
and use the document outline (the left bar that list all your view controllers and relative items) for select the bar button item, then CTRL & drag or drag with your right mouse button:
Automatically for bar button item Xcode link as action:
Make sure the button is selected (The view should darken a bit everywhere expect where the button is) and open up the Utilities area. Open the Connections inspector in utilities (an arrow pointing to the right) and under Triggered Segues drag from the circle to your code and create your action.

Open slide menu navigation from right to left in iOS

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

Tab Bar disappears in MFSideMenu

I have a tab bar with 5 tabs and associated views added in storyboard. The first page seen in app is the view associated with first tab. In each of the five tab views , I have a menu button which gives a side menu which I implemented using MFSideMenu Controller. On clicking menu button , a table view appears from the left side. Table view contains a button named "MyProfile". On clicking it another view, say "Home View " appears. The problem is tab bar disappears in Home View. Is it possible to just show the tab bar without any selection in Home View. Thank You
Code:
for the action of menu button to bring the table view from left
- (IBAction)menuButton:(id)sender {
[self.menuContainerViewController toggleLeftSideMenuCompletion:nil];
}
on clicking the "MyProfile"
- (IBAction)myProfileTapped:(id)sender {
[SlideMenuUtility setCenterViewController:#"HomeNavigationVC"];
[self.menuContainerViewController setMenuState:MFSideMenuStateClosed];
}

ios SWRevealViewController slide menu back

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?

Resources