ZhgChg.Li
當前標籤

#uikit

3 篇文章

ZRealm Dev. 2024-06-01

iOS NSAttributedString 列表縮排實作|NSTextList 與 NSTextTab 巢狀排版解析

針對 iOS 開發者解決 NSAttributedString 列表縮排難題,解析 NSTextList 與 NSTextTab 兩種實現方式,優化巢狀列表對齊與間距,提升多層列表排版精準度,完整示範客製化符號與縮排控制技巧。

ios-app-developmentnsattributedstring
ZRealm Dev. 2020-02-01

iOS 擴大按鈕點擊範圍|Swift 自訂 UIButton 擴展觸控區域技巧

解決 iOS 按鈕點擊範圍過小導致操作不便的問題,透過重寫 UIButton 的 pointInside 方法及 touchEdgeInsets 擴大感應區域,提升用戶點擊準確度與操作體驗,適用 Storyboard 與程式碼開發環境。

ios-app-developmentswift
ZRealm Dev. 2019-02-07

iOS tintAdjustmentMode 屬性詳解|解決 UIAlertController 導致 tintColor 失效問題

iOS 開發者遇到 UIAlertController 呈現時 Image Assets tintColor 失效,透過調整 tintAdjustmentMode 屬性保持 icon 顏色一致,避免系統自動切換為灰色模式,提升 UI ...

uikitswift