We have already discussed aboutΒ How to adopt Liquid Glass in UIButton in Swift?Β It’s easy to adopt liquid glass design in any view with SwiftUI, I will add separate post for that. In this post let’s discuss about – create liquid glass for custom view in Swift.
Apple just introducedΒ Liquid GlassΒ design in WWDC25 event. Here I am posting little snippet that how to apply liquid glass style to UILabel inΒ UIKitΒ with Swift Language.
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.
How do you feel about liquid glass in iOS 19 iOS 26?
Apple just introduced Liquid Glass design in today’s WWDC25 event. Here I am posting little snippet that how to apply liquid glass style to Button in SwiftUI.
In iOS 18.4, iPadOS 18.4, Mac Catalyst 18.4, tvOS 18.4, visionOS 2.4 and later, UIKit logs the this message for apps that havenβt adopted the scene-based life-cycle.
This process does not adopt UIScene lifecycle. This will become an assert in a future version.
Soon, all UIKit based apps will be required to adopt the scene-based life-cycle, after which your app wonβt launch if you donβt. While supporting multiple scenes is encouraged, only adoption of scene life-cycle is required.
Here I am discussing about the methods applicationWillEnterForeground and sceneWillEnterForeground actually work same or not? As there are key differences let’s discuss in detail.
iOS – Apple provides screenshot detection notification but not providing direct solution for prevention.
Here I found solution for preventing screenshot taking from the UIView. It’s a simple extension of the UIView that allows to hide it from screen-capturing and also from screen recording. The solution uses ability of UITextField to hide a password from capturing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So, when you take screenshot the logic of text field secure entry (password text field) will not allow to take screenshot of that part.
ScrollView Screenshot Prevention
Update: Here is recursive function for preventing screenshot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iOS 15 have new property wrapper: @FocusState. This is exactly like a regular @State property, except itβs specifically designed to handle input focus in our UI.
In this tutorial we will get to know that how to hide keyboard or you can say how to work with the @FocusState in SwiftUI.
Picker is a control in SwiftUI which allows you to select a value from a list of possible options. There are many types of inbuilt pickers coming in SwiftUI and it’s really easy to implement.