Code Monkey home page Code Monkey logo

Comments (9)

aUbilla avatar aUbilla commented on July 19, 2024 1

Hello, thank you for your response, I'm new in iOS and Objective-c, and I really don't catch what you tried to tell me, I have this storyboard (is your example demo and I have modified)
I hope you can help me, pleeease!

captura de pantalla 2014-04-14 a la s 10 08 32

from amslidemenu2.

arturdev avatar arturdev commented on July 19, 2024

NavigationController is required.
If you want to use TabBarController instead of ViewController as content vc (for your 1st row, other rows), then you must embed your TabBarController into NavigationController and connect menu to that navigation controller

from amslidemenu2.

aUbilla avatar aUbilla commented on July 19, 2024

Hello again, I did finally your example looks like this:

captura de pantalla 2014-04-14 a la s 12 57 27

Thank you very much! your script is really amazing!

from amslidemenu2.

arturdev avatar arturdev commented on July 19, 2024

Welcome!

from amslidemenu2.

aUbilla avatar aUbilla commented on July 19, 2024

Hello again, sorry to ask for help again, but I could not implement the menu in my project, I imported all the necessary files, create links (segues), but to log into the application, the menu does not appear, instead of the menu, my back button (on the navigation bar), which may appear to be missing?

captura de pantalla 2014-04-14 a la s 17 20 27

Thanks again for your help :)

from amslidemenu2.

arturdev avatar arturdev commented on July 19, 2024

on which view controller you see back button?

from amslidemenu2.

aUbilla avatar aUbilla commented on July 19, 2024

Hello;

In the button ENTRAR (in Login view), I have this code:

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle: nil];
MainVC *vc = [storyboard instantiateViewControllerWithIdentifier:@"MainVC"];
[self.navigationController pushViewController:vc animated:YES];

Then, the view is changed to Home View, and here is appear back button on NavigationBar. If I press back button the view change to Login View.

from amslidemenu2.

aUbilla avatar aUbilla commented on July 19, 2024

Encontré el problema, en mi vista de Login, en viewWillAppear yo oculto el navigationBar, y en viewWillDisappear lo vuelvo a mostrar, pero algo ocurre que en vez de mostrar el menú en la vista siguiente se muestra el botón de volver atrás.

Tengo este código:

-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES];
}

-(void)viewWillDisappear:(BOOL)animated{
[super viewWillDisappear:animated];
[self.navigationController setNavigationBarHidden:NO];
}

from amslidemenu2.

daljeet16 avatar daljeet16 commented on July 19, 2024

Hi All

I'm also implementing AMSlideMenu using tab bar controller.I want to know that above storyboard structure is working fine in your case , so i cant implement in the same way.I'm facing a problem how can i create structure of storyboard to implement this.

someone,please help me.

Thanks!

from amslidemenu2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.