nicklockwood / SwipeView

SwipeView is a class designed to simplify the implementation of horizontal, paged scrolling views on iOS. It is based on a UIScrollView, but adds convenient functionality such as a UITableView-style dataSource/delegate interface for loading views dynamically, and efficient view loading, unloading and recycling.
Other
2.65k stars 413 forks source link

Vertical alignment SwipeView items #182

Closed ArturBaghdas closed 8 years ago

ArturBaghdas commented 8 years ago

Is there a possibility to vertical align the items ?

nicklockwood commented 8 years ago

Yes, use the alignment property.

ArturBaghdas commented 8 years ago

I mean vertical alignment of horizontal items. Now it's always center. See attached screenshot. Thanks img_4938

nicklockwood commented 8 years ago

Oh, I see. There's no property for that, but you could either make your SwipeView smaller so it doesn't fill the height of the screen, or you can place each itemView inside another view and position them at the top.