Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kMainViewController #16

Closed
mikelsoft opened this issue Oct 21, 2015 · 2 comments
Closed

kMainViewController #16

mikelsoft opened this issue Oct 21, 2015 · 2 comments

Comments

@mikelsoft
Copy link

My view controller where I want to use kMainViewController is not the root controller. My view controller is located in a tabbarcontroller as root controller and then as subview of a navigation controller . How do I have to change the #define below to make it work?

define kMainViewController (MainViewController *)[[(AppDelegate *)[[UIApplication sharedApplication] delegate] window] rootViewController]

Thanks in advance Michael

@Friend-LGA
Copy link
Owner

Hello, Michael.

I am not really understand you. kMainViewController used only in demo project as a short link to my main view controller.

In your situation I see two ways:

Wrap your general navigation controller in LGSideMenuController and make it active only on controller that you need.
Just add your custom UIView above everything inside your view controller and make animation like in my LGSideViewController.

@mikelsoft
Copy link
Author

Thanks Grigory I will have a look into it again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants