ios - UIStackView without distribution or filling -


i have view on app need able push dynamic number of custom subviews (the number of views changes whilst running).

my original idea tableview, seems bit ott setting delegate methods. found uistackview, great handles redrawing , resizing when add , remove subviews.

however when have small number of views in uistackview. either make each view bigger vertically fill space, or distribute them across stackview depending on various settings.

what i'd have each view add appended under existing views in stack. don't want distribution or filling of blank space in stack. kind of uistackview each subview having height constraint.

i assume isn't possible stackview, how else can achieved? have use tableview after (or fallback laying out in code?)

if views have defined height constraint, should work distribution being equal spacing.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -