I figured out my issue. The font thing got me thinking a bit... Turns out it wasn't because I wasn't specifying a font, but rather specifying a font that apparently Apple did away with in iOS5. I was using "AppleGothic" which worked fine in all sub iOS5 installs.
But if you look here: http://iosfonts.com/ They've changed the basic applegothic to about 11 different iterations of it (none of which are simply titled applegothic) so it didn't know what to do with that font designation and sort of freaked out. Maybe this will help anyone having the same issues. On Tue, Nov 1, 2011 at 12:52 PM, Karl Heinz Brehme Arredondo < [email protected]> wrote: > I had a problem like that. All controls (or the entire view with controls) > become moved about –20 pixels to up, but this happened when compiled the > aplication for the first time with Xcode 4 and running on iOS 4 device or > iOS 4 simulator. On iOS5 all was OK and before Xcode 4, all was ok on both > iOS 4 and 5…. > > The change made to work around, since it appear that the problem was > something like who is the father of the viewcontroller, BTW, I found the > problem on a popover that can be open in the view depending on what is > touched. But the entire view is in wrong place if I don't change the Owner > of the popover. Weird, but this solved my case: > > public override void ViewDidLoad() > > { > > base.ViewDidLoad(); > > if (UIDevice.CurrentDevice.SystemVersion.StartsWith("3.") || > UIDevice.CurrentDevice.SystemVersion.StartsWith("4.")) > > CustomPopover = new UIPopoverController(this.Owner); > > else > > CustomPopover = new UIPopoverController(this.Owner.NavigationController); > > DoSomething(); > > } > > I can't test on iOS 3 but put a check on this, an let iOS >= 5 to use the > new way. > > This.Owner is from a custom ViewController. Always I open a new one I pass > the Owner.. Like windows forms. > > Karl >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
