Skip to content

[iOS] UIButton uses deprecated APIs when dealing with the Image #21394

@tj-devel709

Description

@tj-devel709

Description

In iOS 15, UIButton's titleEdgeInsets, contentEdgeInsets, and imageEdgeInsets were deprecated. We use these in our iOS Button implementation and ImageButton. They are still working currently, but Apple can decide to change/remove these at any time so we should transition to using UIButton.Configuration APIs.

  • Update the Button
  • Update the ImageButton

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions