My view is shown below:
I know I can achieve this by UICollectionView
. I have used auto layout and my requirement is like : width of 2 cells in single row has same width and space between them are 10 px , and their height will be change dynamically. How to achieve this by auto layout? I have followed tutorial here : http://swiftiostutorials.com/tutorial-creating-custom-layouts-uicollectionview/ but its using frames not auto layout. How to this with auto layout? Suggest me