巴扎黑2017-04-17 16:57:13
Init only initializes a value, and dynamically adjusts the layout according to different screen sizes. You should not lay out the UI in init. Just create the view in init. Don't worry about where it is displayed. Layout it in layoutSbviews. This is the standard practice.