I am working on an iPhone app which needs a scroll view that populates set of images of different sizes.Currently I am adding the imagViews in a Grid like structure.
But I need to add images in a Masonry layout like structure.Is there any filling algorithm available in objective C to achieve this.Please help me.
Thanks in Advance.
I am working on an iPhone app which needs a scroll view that populates
Share
There are no algorithms available for iPhone sdk .You can achieve your goal, if you are ready to compromise with the width of the images.Means the images are of variable height and constant width.Then you can align it in a grid structure as you mentioned.