-
Notifications
You must be signed in to change notification settings - Fork 547
Open
Labels
api-bindingsbugIf an issue is a bug or a pull request a bug fixIf an issue is a bug or a pull request a bug fix
Milestone
Description
Apple platform
iOS
Framework version
net9.0-ios26.0
Description
iOS 26 has a new symbolContentTransition property on UIButtonConfiguration
. The type should be UISymbolContentTransition
.
In the .NET bindings the type appears to be of NSSymbolContentTransition
:
[SupportedOSPlatform("ios26.0")]
[SupportedOSPlatform("tvos26.0")]
[SupportedOSPlatform("maccatalyst26.0")]
public virtual NSSymbolContentTransition? SymbolContentTransition { [Export("symbolContentTransition", ArgumentSemantic.Retain)] get; [Export("setSymbolContentTransition:", ArgumentSemantic.Retain)] set; }
Steps to Reproduce
I tried using that type instead like this:
config.SymbolContentTransition = NSSymbolReplaceContentTransition.Create();
but it crashes with:
ObjCRuntime.ObjCException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[NSSymbolReplaceContentTransition contentTransition]: unrecognized selector sent to instance 0x6000003a2de0
Did you find any workaround?
No response
Build logs
No response
Metadata
Metadata
Assignees
Labels
api-bindingsbugIf an issue is a bug or a pull request a bug fixIf an issue is a bug or a pull request a bug fix