Re: [MonoTouch] MonoTouch.UIKit.UIStringAttributes.set_Font bug?

2014-02-10 Thread Guido Van Hoecke
Guido Van Hoecke gui...@gmail.com writes: Following method crashes on iPad. The problem might be related to the size of the font. The same code works fine on iphone, but of course uses a smaller fint there. (The game draws a character in an 8x8 grid, which means cell size and thus font size is

Re: [MonoTouch] MonoTouch.UIKit.UIStringAttributes.set_Font bug?

2014-02-10 Thread Guido Van Hoecke
Guido Van Hoecke gui...@gmail.com writes: Guido Van Hoecke gui...@gmail.com writes: Guido Van Hoecke gui...@gmail.com writes: Following method crashes on iPad. The problem might be related to the size of the font. The same code works fine on iphone, but of course uses a smaller fint

Re: [MonoTouch] MonoTouch.UIKit.UIStringAttributes.set_Font bug?

2014-02-10 Thread Nic Wise
If you Apple-D on the DrawString method to decompile it, you'll see it's ios7 only [Since (7, 0), CompilerGenerated] public static void DrawString (this NSString This, PointF point, UIStringAttributes attributes) { This.WeakDrawString (point, attributes.Dictionary); } I suspect it's calling

Re: [MonoTouch] MonoTouch.UIKit.UIStringAttributes.set_Font bug?

2014-02-10 Thread Guido Van Hoecke
Thanks Nic. Using UILabels now. Guido On 11 February 2014 04:26, Nic Wise n...@fastchicken.co.nz wrote: If you Apple-D on the DrawString method to decompile it, you'll see it's ios7 only [Since (7, 0), CompilerGenerated] public static void DrawString (this NSString This, PointF point,