swift - Move visible images in StackView closer to leading space -


i have horizontal scrollview of 20 (110 * 130 point) uiviews contained within stackview. each uiview contains image.

when uiviews hidden uiview width maintained @ 110points. however, spaces left hidden uiview should be.

i have been practicing stackview of 3 uiviews , hiding center uiview. leaves space in middle... 3rd uiview move 2nd uiview position (middle) , perform subsequent uiviews later on.

does know how go doing this? possible?

i hoping accomplish uicollectionview, however, don't think can drag image uicollectionview uiview

drag , drop image uicollectionview uiview?

a storyboard isn't meant these complex user interactions, recommend programmatically create stack view , set constraints programmatically well. let's change elements' heights in code easily. might started: add views in uistackview programmatically


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -