1 Reply
      Latest reply on Jan 12, 2019 12:12 PM by Claude31
      mksmurali Level 1 Level 1 (0 points)


            I Presented a ViewControllerB from ViewControllerA.

        Having navigation bar in ViewcontrollerA

        How to create a view in viewControllerB that should be of same height of navigation bar + statusbar  in viewControllerA.

        How to create this in storyboard?

        How this create this for all iphone screen sizes?

        • Re: How to make View with NavigationBar Height
          Claude31 Level 8 Level 8 (9,205 points)

          Not sure I see exactly what you want to do.


          But, conditioning values in IB for ViewB depending on viewA values will be tricky (in fact, I nhink impossible), unless the values can be derived from general values (as safe area…)


          In your case, I would write a few lines of code in viewB to adjust the size, with parameters passed in the prepare for segue or when you instantiate viewB.