Reputation: 67
I am developing an app. In which we are placing UIScrollView
and buttons & images on UIScrollView
.Images are at the bottom of the UIScrollView
and Buttons are at top of the UIScrollView
.
Problem is that I want to scroll only images not buttons. Is it possible to scroll only some part in UIScrollView
. If possible how can we achieve it.
Any one can help or suggest with links.
Upvotes: 1
Views: 377
Reputation: 1649
Create 2 scrollviews, one for button & one for images. Then set scrolling disabled for the one with buttons.
Upvotes: 0
Reputation: 556
You can take another scrollview and add images on it. So that if you scroll the images your buttons will not move.
Upvotes: 0
Reputation: 1254
Instead of putting the buttons on the UIScrollView, make the UIScrollView smaller and add the buttons to the same parent view as the UIScrollView.
Upvotes: 5