How can I make different layouts for different orientations on ios?

I try to make an layout in landscape to show 6 picture's in 2 rows.
But in portrait I only will show 4 pictures in 2 rows.

I already have 2 different storyboard for iPad and iPhone.

Can I do this over constrains?
Can I do this with different storyboards like in android?pain[![enter image description here](https://i.stack.imgur.com/HYRlM.png)](https://i.stack.imgur.com/HYRlM.png)