I have several UILabels. I setup a UIScrollView within a app that works fine. The problem that I'm having is I want some UILabels to scroll and some to rem开发者_如何学编程ain frozen. I don't think this is a coding problem as much as a interface builder issue.
If you mean you want the labels to be fixed on top of the scrollview, then simply drag them out in interface builder so they're at the same level in the hierarchy and not inside of the scrollview.
You can simply add the UILabel as subView of scrollView which you want to scroll. And add the UILabel as subView of self.view which you dont want to scroll.
精彩评论