I've created a custom UIView
which contains a UIScrollView
. I then fill it with a UIView
which is 3 times as wide.
Inside my UIViewController
, I instantiate my custom UIView
and add it to the view.
However, when I attempt to scroll the scrollview horizontally, it doesn't move.
I'm setting the contentView and the contentSize. User interaction is enabled. When I touch the buttons, they respond. But the view doesn't scroll.
Is there something special you need to do when adding a custom UIView
with a scrollview onto a UIViewController
(like passing down the touches, or something like that?).