Kalyan Andra
Kalyan Andra

Reputation: 67

scrolling some part of UIScrollView

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

Answers (3)

iMeMyself
iMeMyself

Reputation: 1649

Create 2 scrollviews, one for button & one for images. Then set scrolling disabled for the one with buttons.

Upvotes: 0

anjum
anjum

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

Patrick T Nelson
Patrick T Nelson

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

Related Questions