implement UIScrollview on a particular area of screen?
i am creating an app which has two UIImageViews at top and bottom of the screen and few customs buttons in between them which i am using in a UIScrollview so that user can scroll through them while the two images remain on top & bottom as they are.But when i use the scrollview the buttons scroll over the two UIimageview instead of just sc开发者_高级运维rolling between them or hiding behind them as users scroll down..how can i make the UIImagviews remain on top of the buttons in UIScrollview??
I assume that you use the Interface Builder...
Make sure that:
- The frame of the scroll view is between the image view
- The Clip subviews of the scroll view is checked
- The image views appear after the scroll view in the views hierarchy (if not then you can just drag them inside the hierarchy)
精彩评论