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

slurmomatic

macrumors newbie
Original poster
Sep 9, 2008
10
0
Vienna, Austria
Hello,
I am building an image viewer using UIScrollView and UIImageView as content. Everything works fine besides the fact that, when zoomed out, the content is shown in the top left corner of the scroll view. Instead I would like it to be shown in the center, similar to the Photos application on the iPhone.
I tried various things but could not get it to work (content mode, edge insets, ...).
Any ideas how this could be done?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.