This commit is contained in:
Roman Aliyev 2024-05-06 21:27:14 +10:00 committed by GitHub
commit 52785cbfd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
import UIKit
extension UIButton {
@available(iOS, deprecated: 15.0, message: "This method is ignored when using UIButtonConfiguration. The effect of this method can be replicated via UIButtonConfiguration.contentInset and UIButtonConfiguration.imagePadding.")
public func setInsets(
forContentPadding contentPadding: UIEdgeInsets,
imageTitlePadding: CGFloat