Skip to content

Objective-C exception thrown. Name: NSInvalidArgumentException Reason: +[UIColor labelColor] #30266

@reinierkops

Description

@reinierkops

Description

App will crash on iOS 12.5.7 when defining a Label (UILabel)

Steps to Reproduce

  • Create new project
  • Run on iPad on iOS 12.5.7
  • App will crash

Link to public reproduction project repository

No response

Version with bug

9.0.70 SR7

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 12.5.7

Did you find any workaround?

No response

Relevant log output

Objective-C exception thrown.  Name: NSInvalidArgumentException Reason: +[UIColor labelColor]: unrecognized selector sent to class 0x26a3bf158

Metadata

Metadata

Assignees

Labels

i/regressionThis issue described a confirmed regression on a currently supported versionplatform/iosregressed-in-9.0.70t/bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions