Can UIStackView also be used within a UITableViewCell?

21.9k views Asked by At

Can UIStackView be used to resize, reposition, or collapse views within a UITableViewCell?

2

There are 2 answers

0
user023 On BEST ANSWER

Yes its possible.
Take a look at the WWDC15 video. They demonstrate the use of a UIStackView within a UITableViewCell. It's around 5:00

WWDC 15 - Implementing UI Designs in Interface Builder

6
raja On
  • You can use, because UIStackView is a subclass of UIView.
  • We can create a UIStackView with all its arrangedViews and layout properties, place it as a contentview of UITableViewCell.