How to create storyboard layout multiple views within header view iOS?

前端 未结 2 1950
無奈伤痛
無奈伤痛 2021-01-25 07:42

I have created header UIView on storyboard view controller, now I need to create 4 views like below colored image Into that UIview base vi

2条回答
  •  感情败类
    2021-01-25 08:37

    First set constraints to header view. Select header view and apply following constraints:

    • Leading, top, trailing space and Height = 80 (for example)

    Once you apply constraints to header view then select all buttons at once :

    Hope this can help

提交回复
热议问题