The UIImageView (a map image) I use is twice as wide as the UIScrollView it is contained within. When my view renders, the UIScrollView default to displaying my UIImageView at full size. I.e. Three quarters of the map are out of view.
I need to default to showing all of the map image, and allowing the user to zoom in. Is this possible? Everything is working other than the default zoom scale when entering the view. I tried using SetZoomScale, but it appears to have no effect!? sv.ContentSize = iv.Frame.Size; sv.MinimumZoomScale = (sv.Frame.Size.Width / iv.Frame.Size.Width); sv.MaximumZoomScale = 1.0f; sv.SetZoomScale (sv.MinimumZoomScale, true); Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/UIScrollView-Is-it-possible-to-set-the-default-zoome-scale-tp3944345p3944345.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
