UIScrollview is inclined

I am trying to use a UIScrollview obliquely 350 degrees, the first thing I thought was to use the attr transform, the scrolling tendency worked, but everything in the scroll looks wrong now when I say all I mean is the position and size of all the children of this scroll ... I tried a different approach, but it didn't work. Anyone have an idea if this is possible?

Thanks JS

+3


source to share


1 answer


Apply a transform to a UIView that includes your UIScrollView, not directly to the UISCrollView.

Make sure all views do not have an autoresizingMask. Thus, the UIScrollView will look better than when the transform is applied directly to it.



The transform I used was CGAffineTransformMakeRotation.

0


source







All Articles