Coder Social home page Coder Social logo

Comments (4)

sheyoshida avatar sheyoshida commented on August 19, 2024 1

My tab bar was vanishing when I navigated away from it too - it is an easy fix, just wrap your view controller in a navigation controller like this:

screen shot 2015-10-15 at 12 35 31 pm

from foldingtabbar.ios.

serejahh avatar serejahh commented on August 19, 2024

@LarryBrian Have you tried the solution above? Do you need some help?

from foldingtabbar.ios.

nasseryacout avatar nasseryacout commented on August 19, 2024

i have a similar issue, i implement my view hierarchy like the solution above, when i push my view controller the tabar works fine, but when i hit back the tabbar collapsed and not response to any thing.

i added a caption text below the buttons, and in addition the text appear at the bottom of the screen and is isolated from the tabbar button.

any help in this issue?

from foldingtabbar.ios.

nyxee avatar nyxee commented on August 19, 2024

In addition to using a Navigation Controller, you also need to use unwind segues (methods with the signature @IBAction func methodname(_ segue:)) which are implemented in the source view controller. Secondly, from the destination View Controller, control-click from the navigation bar button to the Exit object above the view controller then pick the correct action name from the popup menu. The unwind segue will be accessible from the Document Outline and can be given an identifier to use in prepare(for:sender:) in case data needs to be sent to the from the destination view controller.

from foldingtabbar.ios.

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.