Files
suixinkan_uikit/suixinkan/UI/Common/UIButton+Configuration.swift
汉秋 efb3925257 完善首页权限申请流程与队列播报体验。
对齐 Android 无权限强制弹窗、角色下拉与申请页交互,补充 UIButton configuration 适配,并增强景区排队 TTS 与相关单元测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 13:46:45 +08:00

18 lines
485 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// UIButton+Configuration.swift
// suixinkan
//
import UIKit
/// `UIButton` configuration
extension UIButton {
/// configuration
func setConfigurationContentInsets(_ contentInsets: NSDirectionalEdgeInsets) {
var updatedConfiguration = configuration ?? .plain()
updatedConfiguration.contentInsets = contentInsets
configuration = updatedConfiguration
}
}