Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Palad1

macrumors 6502a
Original poster
Feb 24, 2004
647
0
London, UK
Hello,

I'd like to implement a scrollable, resizeable UIScrollView containing an UIImageView, but I would like the resize and pan operations to only work along the X axis.

Should I override a specific delegate and return a new image with the old height and the new width (might be a tad too Cpu-intensive?), or is there some option in UIScrollView I'm not aware of.

Cheers,
Palad1
 
Solved:
Code:
UIScrollView *scrollView;
scrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
:D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.