Yesterday we have already discussed about How to create Liquid Glass Button in SwiftUI? I thought many of the developers (even me) using the UIKit. So, let’s quickly check how to adopt Liquid Glass in UIButton
.

Apple just introduced Liquid Glass design in WWDC25 event. Here I am posting little snippet that how to apply liquid glass style to UIButton
in UIKit
with Swift Language.
UIButton
has new configurations glass()
and prominentGlass()
to incorporate the new Liquid Glass design.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import UIKit class ViewController: UIViewController { @IBOutlet weak var btnGlass: UIButton! @IBOutlet weak var btnProminentGlass: UIButton! override func viewDidLoad() { super.viewDidLoad() // Apply liquid glass in configuration btnGlass.configuration = .glass() btnProminentGlass.configuration = .prominentGlass() } } |

Conclusion
- Xcode 26, iOS 26 and other beta just released today. I will explore and keep posted.
Let me know if you have any questions, comments, or feedback – via X (Twitter) or LinkedIn. Feel free to contact me and discuss what you are learning and developing.
Happy Coding 🙂