In this tutorial, we will see how to add an underline to a text view in SwiftUI. We can add an underline to a text view using the .underline() modifier. We can also customize the a.... Read More
In this tutorial, we will see how to combine rotation and fade-out animation in SwiftUI. We can combine rotation and fade-out animations using the rotationEffect and opacity modifi.... Read More
In this tutorial, we will see how to make a circular animation work in both directions in SwiftUI. We can create a circular animation that works in both directions in SwiftUI by us.... Read More
Previously, we could use a single parameter in onChange() in SwiftUI. But now we can do that, but it will show us a warning: 'onChange(of:perform:)' was deprecated in iOS 17.0: Use.... Read More
In this tutorial, I will show you how to check if the iOS app is running in the background or not in SwiftUI. We will try to apply the detection in the whole app. To do this we wil.... Read More
In this tutorial, we will see how to copy an image to the clipboard in SwiftUI. . First of all, we need to convert the image to UIImage (UIKit’s image representation), then c.... Read More
In this tutorial, we will see how to hide the keyboard on tap outside in SwiftUI. We can achieve this task by creating an invisible button that will cover the entire screen. This i.... Read More
In this tutorial, we will see how to place text and an icon side by side using Label in SwiftUI. In SwiftUI, the Label view provides a convenient way to display text and icons side.... Read More