How to scroll a UIScrollView containing a UIView?

Try setting blueView. UserInteractionEnabled = NO .

Up vote 0 down vote favorite share g+ share fb share tw.

UIView * blueView = UIView alloc initWithFrame:CGRectMake(10, 10, 100, 100); blueView. BackgroundColor = UIColor blueColor; scrollView addSubview:blueView; scrollView. ContentSize = CGSizeMake(1500, 2000); I can drag-scroll in most of scrollView just fine, but dragging when the touch starts in blueView doesn't work.

How can touches that start within the UIView (blueView in this case) scroll the UIScrollView? BlueView is not first responder, blueView's next responder is scrollView, etc. Seems pretty basic, but I'm stuck for a while now. What am I missing?

Thx. Iphone ios uiscrollview link|improve this question asked Mar 3 '11 at 19:17NickHowes253.

Try setting blueView. UserInteractionEnabled = NO.

Thank you! That explains that. – NickHowes Mar 3 '11 at 19:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions