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
0 answers

iOS Orientation Change with ECSlidingViewController

I have an app that is a single view: a UIWebView that gets pdfs loaded into it. The pdfs are loaded from an ECSlidingViewController. For some reason, when the app goes from portrait to landscape, the WebView remains in the same position and there is…
Marcel Marino
  • 962
  • 3
  • 17
  • 34
1
vote
1 answer

Is there a way for the Top View Controller in ECSlidingViewController to know when the sidebar menu has been dismissed?

Is there a way for the Top View Controller in ECSlidingViewController to know when the sidebar menu has been dismissed, or when it is about to become the focus? i.e. a sort of viewWillAppear equivalent for ECSlidingViewController. I have a…
Praneeth Wanigasekera
  • 946
  • 1
  • 10
  • 16
1
vote
1 answer

Keep getting the Set the topViewController before loading ECSlidingViewController error

I have been following the video tutorial(s) at these links: https://www.youtube.com/watch?v=tJJMyzdB9uI, https://www.youtube.com/watch?v=HqFFjmhoO1c. I placed the code in my initial view controllers' viewDidLoad method to make a mainviewcontroller…
Joshua Blevins
  • 689
  • 1
  • 10
  • 27
1
vote
0 answers

ECSlidingviewcontroller-2 : Trying To Achieve Bounce Animation

I'm using ecslidingviewcontroller 2 and i'm trying to make a bouncy animation when open the off-canvas menu or close it .. I know it should be in the method - (void)animateTransition:(id )transitionContext…
1
vote
1 answer

How do I fix the gap between my view and my navigation bar when the call status bar is active?

I am using ECSlidingViewController for navigation but I don't believe this is the cause of my problem. Below is an example of my problem. I have tried using viewDidLayoutSubviews to fix this and I have changed the settings for navigationBar…
1
vote
2 answers

How do i build 3D transform in iOS for ECSlidingViewController?

I want to build a some special animation based https://github.com/ECSlidingViewController/ECSlidingViewController. The Zoom animation is like below image. I just want to rotate the main view controller by PI / 4. Like below image. I had tried to…
1
vote
0 answers

iOS updateTopViewHorizontalCenterWithRecognizer EXC_BAD_ACCESS

I couldn't find why my app is crashing when the method updateTopViewHorizontalCenterWithRecognizer is called. Any idea how to fix the error causing the app crash? Error Log Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at…
fpauer
  • 356
  • 3
  • 9
1
vote
0 answers

Disable the topViewController

Is it possible to disable the topViewController when the slidingViewController is open? I'm using ECSlidingViewController version ~1.3 and when I expose the menu the topViewController isn't touchable. However, in a new project I am using the latest…
jmurphy
  • 1,891
  • 3
  • 22
  • 28
1
vote
0 answers

self.slidingViewController is lost after pushViewController

Here the deal. Most of my views have a constant sliding menu. Did it exactly like the tutorials - MenuViewController : UIViewController In addition I have the: InitialSlidingViewController : ECSlidingViewController And all the viewControllers are…
Boaz
  • 4,864
  • 12
  • 50
  • 90
1
vote
1 answer

While using ECSlidingViewController, why doesn't the underRightViewController animate correctly?

I am trying to implement ECSlidingViewController to perform a Zoom effect. While using underLeftViewController and anchorTopViewToRightAnimated, the effect is flawless and exceptional. However, I need to use underRightViewController and…
William Smith
  • 1,949
  • 4
  • 25
  • 45
1
vote
1 answer

iOS gesture collisions between slider and pan gesture on controller

I am using ECSlidingViewController for hamburger menu and I added code to my viewDidLoad method: [self.slidingViewController.topViewController.view addGestureRecognizer:self.slidingViewController.panGesture]; Now I have pan gesture to show right…
1
vote
1 answer

ECSlidingViewController 2 sliding from right to left

is there any way to use the ECSlidingViewController to slide the menu from right to left ? the default is left to right this code is working, the menu slide from left to right: - (IBAction)menuButtonTapped:(id)sender { …
user1172579
  • 575
  • 1
  • 7
  • 22
1
vote
1 answer

Interaction with a ViewPager in a SlidingUpPanel

I'm trying to use the SlidingUpPanel from umano and have the slider be a ViewPager. However, when trying to scroll left and right the ViewPager isn't moving. It appears the touch events are being intercepted by the SlidingUpPanel.
Jay S.
  • 441
  • 1
  • 6
  • 18
1
vote
0 answers

Reference to the slidingViewController from the AppDelegate to open a view

I need to open a view as topViewController from the AppDelegate method : (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication: (NSString *)sourceApplication annotation:(id)annotation but I don't know…
swifferina
  • 293
  • 4
  • 16
1
vote
1 answer

Strange appearance of the status bar after upgrading to ECSlidingViewController 2

It seems that one particular aspect of iOS programming is to diagnose these weird, seemingly trivial yet frustratingly obscure small problems. So today, I was happily woking on my recent iOS project, and I decided to upgrade my project to the latest…
Enzo
  • 969
  • 1
  • 8
  • 23
1 2
3
10 11