ios8uialertviewuialertviewdelegate

Why are all my UIAlertView labels/text bold by default in iOS 8


I searched for this and the only solutions seem to be derive from the UIAlertViewDelegate. I don't want to do that just to eliminate bold text.

The code that I use to pop my alert view is the following:

NSString* errPrompt = @"some text here, anything that will not show bold :)";
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:title
                                                message:errPrompt
                                                delegate:nil
                                       cancelButtonTitle:[self getUiText:"OK"]
                                       otherButtonTitles:nil];
[alert show];

enter image description here


Solution

  • This is a bug in iOS and affects all alerts which do not have a title set.

    Interestingly most standard iOS alerts (like in App Store) are not affected.