Questions tagged [ecslidingviewcontroller]

ECSlidingViewController is a view controller container that manages a layered interface. The top layer anchors to the left or right side of the container while revealing the layer underneath it. This is most commonly known as the “Side Menu”, “Slide Out”, “Hamburger Menu/Drawer/Sidebar”, etc…

Open source Side Menu for iOS (). Available on GitHub.

  • Panning gesture to move top view can be set on any UIView (). It is most likely a navigation bar or the whole top view itself.
  • Configurable anchor positions, with automatic adjustments for orientation change.
  • There are no assumptions about the size and layout of the views under the top view. See the underLeftWidthLayout and underRightWidthLayout properties if you need a common layout.
  • The child views can be changed at anytime.
  • Child view controllers can be an instance of UIViewController () or any subclass of UIViewController including UINavigationController () and UITabBarController ().
  • iPad () support.
163 questions
1
vote
3 answers

ECSlidingViewController: Can't hide menu

I have implemented the ECSlidingViewController framework to my project. That works. I can switch between my Viewcontrollers with the left side menu. But now I want to set the current view / top view by clicking a UIButton: NSString *identifier =…
DerFuchs10
  • 135
  • 1
  • 2
  • 12
1
vote
1 answer

Loaded the nib but didn't get a UITableView Exception

I'm trying to load a uitableview using ECSlidingViewController methods. When I call this code: UIStoryboard* sb = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" …
Mohamed Emad Hegab
  • 2,665
  • 6
  • 39
  • 64
1
vote
1 answer

Passing NSString from one class to another. (ECSlidingViewController?)

Firstly, I've already tried to search for solutions online but none works for me and I'm thinking since I'm using ECSlidingViewController to navigate around the app, I can't utilise the prepareForSegue method thus, my problem may need a different…
user2570984
1
vote
1 answer

Implementing ECSlidingViewController

I am trying to implement ECSlidingViewController & I am using segues in my storyboards. I am having a problem where the MainViewController's viewDidLoad is being called twice and self.slidingViewController.underLeftViewController = [self.storyboard…
Harish
  • 1,469
  • 16
  • 43
1
vote
1 answer

iOS: How can I prevent a resized view from resetting itself?

I'm using ECSlidingViewController. When the app starts, it opens a scroll view which is resized dynamically, since it contains both labels and a table view. Both the table and the scroll view containing it are resized. Everything works as intended…
Joel Hinz
  • 24,719
  • 6
  • 62
  • 75
1
vote
2 answers

Present modal view controller from ECSlidingViewController

In my app I have an ECSlidingViewController declared as initial root controller via Storyboard. In my AppDelegate's didFinishLaunchingWithOptions method, I instantiate it as above: self.slidingController = [[UIStoryboard…
ozzotto
  • 1,146
  • 3
  • 13
  • 30
1
vote
3 answers

ECSlidingViewController resignFirstResponder when page slide

I need resignFirstResponder when a page slide with ECSlidingViewController. If i use UIPanGestureRecognizer for that. Thats override ECSlidingViewController and cant slide page after use that.
0
votes
1 answer

Show ECSlidingViewController on top of the TopViewController

I have my projet running smooth but I don't want my project to anchor on top right side. Is there a way to make the ECSlidingViewController show on top of its topViewController. Thanks
0
votes
1 answer

Slide Menu in IPhone App using ECSlidingViewController

I am trying to use ECSlidingViewController in my Iphone app (Using Storyboard). I have 5 ViewControllers. Login MainSelection FirstView SecondView MenuView In the above controllers i have "Menu" Button on FirstView & SecondView on click of "Menu"…
0
votes
2 answers

How to get instance of ECSlidingViewController in another storyboard?

Little Background :- I have two storyboards in my project (one with autolayout and one without autolayout). 'Main' storyboard contains ECSlidingViewController where I set topviewcontroller as mentioned on the ECSliding github page like below:- My…
Ashish P
  • 1,463
  • 1
  • 20
  • 29
0
votes
1 answer

ECSlidingViewController passing UILongPressGestureRecognizer

I have looked around for solutions but none of them answer my question. Therefore, I took a step back from my project to try to work out this feature. I am using AppDelegate to help me see code clearer. I want the menu to slide out when users touch…
Marco Lau
  • 107
  • 1
  • 9
0
votes
1 answer

ECSlidingViewController2 - hidden menu tappable with VoiceOver on

When using ECSlidingViewController2, How can we prevent the under left menu from being tapped with VoiceOver on and the menu is under the top view? Try the BasicMenu example. When on the Home view, you can tap the options on the menu underneath.
0
votes
2 answers

Hide menu bar in ECSlidingViewController in an option in swift

I am using ECSlidingViewController for the menu navigation. I have a option logout on which on selection logout the user. When the user login agin the menu bar will be visible instead of hidden. Swift code to hide the menu bar on logout…
0
votes
2 answers

Can I have two ECSlidingViewController Drawer from left and right?

I want to have two Drawer menus, one from left another from the right. Is it possible using ECSlidingViewController 2. If no then can you suggest the better way to achieve the same?
0
votes
3 answers

ECSlidingViewController 2 not working XCode 7 iOS 9

The unwind segue to the menu view is no longer working on XCode 7 with iOS 9. The only way I got it to "work" is by changing the type of segue in the storyboard to an ECSlidingSegue from the default UIStoryboardSegue. the ability to change this in…