Reputation: 6021
I'm trying to create a layout in iOS that has to display the following horizontally:-
A static label, a map, a list of "dashboard" views.
The dashboard views is currently based on a collection view.
In an ideal world I'd put all the controls above in a scroll view, and enable horizontal scrolling, but this isn't working with the collection view because the collection view handles it's own scrolling.
[UPDATE]
I have disabled scrolling on the collection view, which I think should work, but the scroll view still doesn't scroll properly (I can now "bounce" horizontally and see the content off the screen, but if I take my finger off it just bounces back).
Upvotes: 0
Views: 105
Reputation: 894
You can use pageview controller and put all the views in it. Vist this to learn about page view controller
Upvotes: 2