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
7
votes
3 answers

Closing ECSlidingViewController menu

I'd like to implement my sliding menu in a way that pressing the Menu button will show my menu and pressing Menu again would hide it. But I can't understand how to do it with ECSlidingViewController. Will appreciate any help.
devmiles.com
  • 9,895
  • 5
  • 31
  • 47
5
votes
1 answer

-[ECSlidingViewController notifyWhenInteractionChangesUsingBlock:]: unrecognized selector sent to instance

I recently updated Xcode to version 11.3.1 and after that i am not able to run my application. I've been getting the following exception: 2020-02-11 16:13:04.767795-0600 UVM[5204:80616] -[ECSlidingViewController…
Anand Y
  • 329
  • 2
  • 13
5
votes
2 answers

How to implement Spotify-like iOS app sidebar feature

I've already implemented a sidebar like that in Facebook/Path apps with ECSlidingViewController but I've noticed that Spotify app it's a bit different and has a very slick effect. The sidebar is not already full visible but it slides and show the…
Fred Collins
  • 5,004
  • 14
  • 62
  • 111
4
votes
5 answers

ECSlidingViewController problems with topview animation

I'm using ECSliding and I have this problem! In my project there are this files: InitViewController (ECSlidingController) FirstViewController (UIViewController) SecondViewController (UIViewController) LeftMenuViewController (UIViewController) I…
3
votes
2 answers

How to use ECSlidingViewController in swift project

I'm trying to use ecslidingviewcontroller in my swift project but don't know how to proceed. I know about bridging headers in swift, and have imported ECSlidingViewController.h in my project. How to call methods or use this in my project? I'm…
Fayza Nawaz
  • 2,256
  • 3
  • 26
  • 61
3
votes
4 answers

bad orientation in screen with multiple viewcontrollers/ views in iOS 7, landscape only (iOS 8 is fine)

I'm using TheSidebarController to implement add a sliding menu into an iOS application. This is the library I'm using, but I've found the same issue in other libraries, like ECSlidingViewController, etc. They essentially work by adding multiple…
Adam
  • 1,486
  • 3
  • 20
  • 35
3
votes
2 answers

ECSlidingViewController Basic setup of pan gestures and menu reveal

I am having trouble with setting up a basic ECSlidingViewController project. I am using storyboards to set up my layout, but for the life of me I cannot get the unwind segue to work. When control dragging to the green exit button, it won’t allow me…
Kyle Begeman
  • 7,169
  • 9
  • 40
  • 58
3
votes
2 answers

How to not fully hide menu using ECSlidingViewController?

Am using ECSlidingViewController class to show sliding menu=) i want show always a part of menu. Question is how to not fully hide menu?
Alex Kraev
  • 199
  • 1
  • 12
3
votes
1 answer

How can I make a navigation controller load its root view controller when it is loaded offscreen?

I use ECSlidingViewController for a side-drawer effect in my application. When my initial view loads, there is a hidden view controller with an MKMapView behind the visible view. Needing to segue from map annotations, I had to embed my map view…
user
  • 3,388
  • 7
  • 33
  • 67
3
votes
1 answer

ECSlidingViewController cause to mistake when dismiss UIViewController

When I use ECSlidingviewController dismissing to last of controller return to top controller instead of parent; My Controllers order like this in storyboard ; InitialViewController (UIViewController) --> HomeNavigationController…
3
votes
1 answer

Using my NavigationController with my ECSlidingViewController

What I'm trying to do If started creating my App. I've got a NavigationController as my rootViewController. When the app is started it will open my LoginViewController. In there I do the Login-Procedure, if everything is fine. I'll start my…
safari
  • 7,565
  • 18
  • 56
  • 82
3
votes
0 answers

UITableView first row is scrolled up when view shows up

I ran into this very strange bug and have no idea how to fix it after trying all that I know. So if you can help it would be immensely helpful!!! I have a UIViewController that is hosting a tableView whose dataSource and delegate is the…
Enzo
  • 969
  • 1
  • 8
  • 23
3
votes
2 answers

ECSlidingViewController, unable to close the menu

I am using ECSlidingViewController for my menu, I have an initial controller, menu and a home page and a login page. In the initial view controller if the user is authenticated they see the home page else I show the login dialog. (using the self…
user714142
  • 57
  • 5
3
votes
3 answers

Using ECSlidingViewController with TableView

I'm using ECSlidingViewController in my application, it contains owns GestureRecognizer that looks like: [self.view addGestureRecognizer:self.slidingViewController.panGesture]; And it's preventing TableView's scrolling. When I deleted that line…
2
votes
2 answers

How to translate viewWillLayoutSubviews to viewWillTransitionToSize

I'm using viewWillLayoutSubviews to detect orientation changes but as in iOS 8 and Xcode 6 is deprecated I need to use new viewWillTransitionToSize. My problem is that I'm not able to use it. My viewWillLayoutSubviews is: -…
Enzoses
  • 115
  • 14
1
2 3
10 11