Post

Replies

Boosts

Views

Activity

Expanding content using UITableView, UIStackView in Storyboard with AutoLayout
I have a UITableViewController that I want to display a list of items in as part of my storyboard.Each item also has a "details" section you can expand. Since this is just a test view it has a pretty simple layout:UITableViewController TableView/Cell/ContentView Vertical Stack View Details button UITableView/Cell/ContentView Label with detailsI'd like the details collapsed by default and when the details button is clicked it will expand and show the details.I have used Auto-layout and made sure that all vertical constraints are accounted for. I have also adjusted Vertical Content Compression Resistance to be above the normal defaults, but nothing seems to work. (When I click my details button I can see 1 tableView cellForRowAtIndexPath call and that's it. Nothing is ever visible on screen.Is this interface even possible? Can anyone recommend a way to accomplish this?Thanks,James
1
0
2.9k
Feb ’16