[MonoTouch] UIScrollView: Is it possible to set the default zoome scale?
MilkyJoe
leigh.bowers at curvenet.co.uk
Thu Oct 27 10:26:37 EDT 2011
I've got it!
As soon as I moved the ZoomScale assignment to AFTER my delegate, it worked:
*sv.ViewForZoomingInScrollView = delegate(UIScrollView scrollView) {
return iv;
};
sv.ContentOffset = new PointF(iv.Frame.Size.Width / 2, iv.Frame.Size.Height
/ 2); // Centre
sv.ZoomScale = sv.MaximumZoomScale;*
I'm not sure why I had to do this, to be honest, but it works :)
--
View this message in context: http://monotouch.2284126.n4.nabble.com/UIScrollView-Is-it-possible-to-set-the-default-zoome-scale-tp3944345p3944659.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list