如何实现照片编辑器快速3拼贴

问题描述:

我想创建具有自定义布局的照片拼贴,如下图所示。我不知道如何在swift3中创建拼贴。 。我感到困惑的使用UIView的控制器或UICollectionView.Please有人建议我,我怎么能实现它如何实现照片编辑器快速3拼贴

请注意:我试图收集观点,也称为本教程:How to make collage of images according to different shapes但它不能正常工作。

enter image description here

与自定义布局创建UICollectionView创建的照片编辑器collage.Please请点击此链接https://www.raywenderlich.com/164608/uicollectionview-custom-layout-tutorial-pinterest-2

如果您想制作静态照片学院,您可以采用单一视图并根据需要使用UIImageView进行设计。并从画廊中显示相册照片。

如果你想制作动态照片学院,你必须使用UICollectionViewFlowLayoutDelegate。 对于您可以参考

https://www.raywenderlich.com/164608/uicollectionview-custom-layout-tutorial-pinterest-2

https://shrikar.com/ios-swift-tutorial-uicollectionview-pinterest-layout/

谢谢!