How to adjust UIView height according to the Collection View Content Height in swift 3?
问题 I have a problem of adjusting the UIView height in my project. I illustrated the project. Let me explain about my project image. Each Orange UIView has trailing, leading , top and bottom constraints and vertical spacing to each UIView. But, I add "Height" to each UIView because if I don't add, it gives error and add the "Height" warning. In UIView2, I add 3 Container Views. Each Container Views has 3 View Controllers. (Data 1 View, Data 2 View, Data 3 View) I embed Collection View inside in