How can I achieve that the images which comes into view is automatically selected?
I know that I can have the first item in the collection view selected by default, but how to do it with every item that comes into view? To explain it in more detail: I have an imageview depending on the selection of the collectionView. What I want to do is, that the user don't have to select the collectionViewcell to get the depending imageview. I want the user to just swipe through the collection view and the image that comes up is selected and an overview shown in the depending imageview. The main problem is in my opinion, that I need to Ave just one selected at a time.