More

    TYPES OF NAVIGATION IN IOS!

    There are three basic types of Navigation mechanism in iOS :

    1. Push Navigation
    2. Modal Navigation
    3. Tab Navigation

    Push Navigation

    A push Segue is adding another VC to the navigation stack. This assumes that VC that originates the push is part of the same navigation controller that the VC that is being added to the stack belongs to. Memory management is not an issue with navigation controllers and a deep stack. As long as you are taking care of objects you might be passing from one VC to another, the compiler will take care of the navigation stack.

    Modal Navigation

    A modal Segue is just one VC presenting another VC modally. The VCs don’t have to be part of a navigation controller and the VC being presented modally is generally considered to be a “child” of the presenting (parent) VC. The modally presented VC is usually sans any navigation bars or tab bars. The presenting VC is also responsible for dismissing the modal VC it created and presented.

    Tab Bar Navigation

    Tab bar controllers are simple to use navigation controllers. They are generally used when there are different logical flow in your app and you want to switch from one controller to another.

    Share it if you like!

    Recent Articles

    Amazon Echo Buds Review

    Amazon isn’t usually one for following the crowd, but even this retail giant couldn’t ignore the impact of Apple's AirPods. Apple’s true wireless earbuds...

    Apple AirPods 2 vs AirPods Pro: which is better?

    If you're in the market for a pair of new wireless earbuds and you also happen to own an Apple smartphone or tablet, chances...

    A2Hosting Review 2019 | An Affordable Hosting for Newbies | 100% Genuine Review

    I'm using A2Hosting since November 2018. Based on personal experience, I have written this article. Saying your hosting provider as the backbone of your online...

    Alphabet, Amazon, Apple, Netflix See Shares Dim in Eyes of Investors

    Technology companies that catapulted Wall Street to glorious heights have seen shares tumble on investor concerns that the days of stellar profits are waning. Since...

    Apple Upstages Amazon in Selecting New Tech Hub Locations

    One tech giant strung dozens of North American cities through a circus-like contest that led mayors and governors to desperately pitch their regions -...

    Related Stories

    Leave A Reply

    Please enter your comment!
    Please enter your name here

    Stay on op - Ge the daily news in your inbox