Questions tagged [swrevealviewcontroller]

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps

  • A Reveal view controller implemented using view controller containment.
  • API easier than a UINavigationController.
  • Support for any combination of left/right rear controllers.
  • Correct handling of appearance methods on its child controllers that you can rely on.
  • Correct handling of rotations.
  • Can be embedded as a child view controller of other controllers or deployed as the rootViewController.
  • Plays nicely with any child view controllers or parent controllers.
  • Can be deployed as a child of itself to create cascade-like, hierarchical interfaces.
  • Seamless integration of pan gesture recognizer, behaving as smooth as silk.
  • A category method on UIViewController, revealViewController, to get the parent SWRevealViewController of any child controller, similar to the UIViewController's property navigationController.
  • Lightweight, clean, easy-to-read, self-documenting code that you will enjoy using in your projects.
580 questions
19
votes
6 answers

How to close the SideBar menu manually when using SWRevealViewController ( ios)

I am trying to implement a SideBar / slide out menu using the SWRevealViewController. I have a bunch of menus. One of the menu is to get app version info. So When I click on the cell, An AlertView displays the version number and on pressing the OK…
moni_sind
  • 605
  • 1
  • 5
  • 15
18
votes
9 answers

SWRevealViewController close rear view when tapping front view

I am using SWRevealViewController in order to implement a side nav menu in my app. I would like to make it so that the front view cannot be interacted with when the rear view is opened, except that when the user taps the front view, the rear view…
shadowarcher
  • 3,265
  • 5
  • 21
  • 33
14
votes
15 answers

SWRevealViewController: Remove interaction on frontview when rearview is revealed

I need to disable user interaction on front view when rear view is revealed. Found some others asking the same thing but can't really understand where or how to implement the code that I've seen. Ex: I found this code from link, -…
Mou某
  • 556
  • 3
  • 10
  • 32
13
votes
3 answers

SWRevealViewController project in iOS

Note: Problem solved. Here comes the story. I am using RevealViewController in my project. I am also hiding the navigationBars: [self.navigationController setNavigationBarHidden]; My project can be seen in the picture below and the "menuButton" is…
12
votes
6 answers

SWRevealViewController from the right side on swift

I am using SWRevealViewController library to make a slide out menu in swift, but I am struggling to put this menu in the right side. I have seen on the library description this comment // Optional right view controller, can be nil if not…
Ilir V. Gruda
  • 1,562
  • 5
  • 17
  • 23
12
votes
4 answers

How to push viewcontroller from appdelegate in storyboard

I am using SWRevealViewController in my project, and I want to open a particular controller when the app receives a notification. I have tried so many solutions but nothing works. How can I show a specific ViewController from my…
user3436439
  • 121
  • 1
  • 5
10
votes
6 answers

changing the width of the rear view in SWRevealController

I have my views designed in the storyboard. When I slide out the menu, the rear view does not automatically resize to the width of the device. How can i set the width of the view so that it matches up with the width defined by…
Ant
  • 747
  • 1
  • 8
  • 19
10
votes
7 answers

Return to initial view controller when user logs out

I'm working on an app which uses Facebook integration, and the log in system works fine now. However, I can't seem to return to my initial view controller when the user clicks log out. Here's an overview of my storyboard: I would like to return to…
10
votes
4 answers

SWRevealViewController how to remove swipe gesture

I am using good control SWRevealViewController, but by some redone I want to track my own swipe gestures on my screen. So how can I switch off swipe options? I want to work only revealToggle method that attached to my button. Did someone faced with…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
9
votes
1 answer

SWrevealViewController without using navigationController

I am currently doing a project (an update) I have to add a sidebar in it. the project is now currently done without using navigation controller. Can I use SWRevealViewController in it without using NavigationController. Please help me. Any sample…
Abin George
  • 644
  • 6
  • 21
8
votes
1 answer

Implement SWRevealViewController on only one UITabBarItem

I implement SWRevealViewController with UITabbarController via storyboard. I want to display SWRevealViewController in first UITabBarItem only, in other UITabBarItem i don't want to open SWRevealViewController, that done completely. But problem is…
8
votes
1 answer

How to make SWRevealViewController slide "over" the main view controller not "push" it out?

I'm using SWRevealController with swift and it is working how it is suppose to but I would like to tweak it a little. When you bring out the menu, by either sliding or pressing the button, the new view comes out while pushing the main view…
8
votes
4 answers

Manual segue with SWRevealViewController in Swift

There is a great blog post over at http://www.appcoda.com/tag/swrevealviewcontroller/ that goes in to setting up SWRevealViewController which is a great component for slide out side menus…
Tom Holder
  • 311
  • 4
  • 5
7
votes
1 answer

How to use SWRevealViewController with iPad SplitViewController

Hi I am using storyboard for my iPad app. How can I add SWRevealViewController to my app. I want to add slide view to my master view controller. Can any body please suggest me. I am loading my splitView using the following code in AppDelegate.h …
gundra
  • 93
  • 5
6
votes
2 answers

How sign in automatically without asking login in iOS Swift?

I have different story board called Main, tabBar, home, map, etc. In tabBar storybard, I have used SWRevealViewController view and initiated as initially view. In main Storyboard only two are used namely sign in and sign up controller. Here is my…
1
2 3
38 39