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.