The current min iOS version defined in the Package file is v15. The only API restricting this is UIButton.Configuration. This PR provides a fallback for the UIButton configuration and drops the iOS version to v14.
Changes
Package.swift
Min OS version v15 -> v14
UberButton
Marked extension UIButton.Configuration as @available(iOS 15...)
Added code to configure UIButton using old APIs compatible with iOS 14-
Description
The current min iOS version defined in the Package file is v15. The only API restricting this is UIButton.Configuration. This PR provides a fallback for the UIButton configuration and drops the iOS version to v14.
Changes
Package.swift
UberButton
extension UIButton.Configuration
as@available(iOS 15...)