iOS 7.1 - UIFont.SystemFontOfSize and UIFontWeight.Bold crash

MarkvanderPalMarkvanderPal NLMember
edited September 2015 in Xamarin.iOS

Hi,

I'm not sure if this is a bug, so I'll post it up here first. I've got an app, up and running successfully on iOS8+ devices. Today I received a crash report from an user running 7.1.

I started the iPhone 4s 7.1 emulator and it crashes on this UIFontWeight.Bold parameter. See the attached print-screen.

If I remove the "UIFontWeight.Bold" parameter and leave only 16 as font-size, it works.

Can someone tell me what I might be doing wrong?

Version info:
Xamarin 3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration 1.0
Automated migration for Xamarin iOS Classic projects to Unified

Many thanks in advance!

Tagged:

Best Answer

Answers

Sign In or Register to comment.