Google News
logo
IOS - Interview Questions
Why StackViews are useful in developing iOS applications?
StackView is useful to manage a UI which requires views to be added or removed at runtime based on a certain user event. It simplifies the task to layout a series of views (horizontally and vertically) by managing the spacing among the views. We won't need to change, add, or remove constraints for the inner views at runtime. We only need to provide constraints to stackview.
Advertisement