문제

I want to make a collage application like "Pic Collage" https://itunes.apple.com/in/app/pic-collage/id448639966?mt=8

Here I am stuck in a functionality in which we can make collage for predefined rectangular layouts. When we select any layout the pictures on screen automatically fitted in the selected layout design and layouts are dynamic with number of pictures on the screen.

Please suggest how this functionality of creating layouts and fitting images in the layout can be implemented?

Following is link to layout that I am looking for: 1. https://www.dropbox.com/s/ge4mhx9vkyb9s2n/IMG_4914.PNG

도움이 되었습니까?

해결책

If you going to use templates as shown in the application then you can be sure of how many grids would be needed. In that case based on the selected template you could use variations of UITableview and AQGridView. You can customize it according to requirement.

Also you could look into Collection Views.

I would have probably added multiple UIImageViews based on the templates and provide feature for addition of images by handling the touch event.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top