0

I have a screen like this.

first screen

I want to show a view like in below picture on the image view when user click tab bar item. Now I'm doing it by giving "-" constraints and when user click one of the tab bar item. I changed - constraint to + constraint. However, I'm not sure if there is a better way to do it. enter image description here

Emre Önder
  • 2,408
  • 2
  • 23
  • 73
  • you can use hidden property of view to show and hide the view instead of changing constraints of view. – Sahil Dec 29 '16 at 15:44
  • But the problem is I'll also add uicollectionview and tableview in that white area. Therefore, it will be hard to design it. – Emre Önder Dec 29 '16 at 15:48
  • 1
    you should be using the view controller containment pattern. http://stackoverflow.com/questions/17499391/ios-nested-view-controllers-view-inside-uiviewcontrollers-view – Sahil Dec 29 '16 at 15:58

0 Answers0