I hate to reply to my own message, but for those of you who, like me, keep hitting the brick wall and not getting the auto-resizie to work - here's the answer: Give up, there is no such thing as "magically expand yourself to parent size" layout manager style like in CSS, Java Swing, or Most Every Other Toolkit Known to Man.
Instead, what you do is *always* use fixed positioning for everything. The auto-resize thing only comes in to play when, well, the View is *resized*. To get your table in a scrollview expand on to the full screen on both iPhone4 and 5, and behave accordingly when the in-call status bar is toggled, you'd do something like // set container to full size of screen, fixed positions ftw UIViewScrollView container = new UIScrollView(0,0, View.Frame.Width, View.Frame.Height); // content size to some large table size container.ContentSize = new SizeF(table.Frame.Width, table.Frame.Height) // how to resize the scrollview when the status bar is toggled container.AutoresizingMask = UIViewAutoresizing.FlexibleHeight // add the table container.AddSubview(table); I hope this helps someone in the future, it would have saved me quite a lot time :-) / Vic -- View this message in context: http://monotouch.2284126.n4.nabble.com/Autosize-our-app-for-iPhone-5-tp4657080p4657146.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
