Posts by Samim

Author Biographical Info: Not available

SwiftUI Button: Making Background Tappable

By Samim

In this tutorial, We will see how to make the background of a SwiftUI button tappable. If you have faced issues with SwiftUI buttons where the background doesn’t respond to t.... Read More

Add a TextField to Alert in SwiftUI

By Samim

In this tutorial, we will see how to add a TextField to an Alert in SwiftUI. In iOS 16 and above versions, we can now add one or more TextField or SecureField components within an .... Read More

Remove NavigationBar Back Button Title in SwiftUI

By Samim

In this tutorial, we will see how to remove the Navigation Bar back button in SwiftUI. The back button in SwiftUI navigation bars displays the title of the previous view. This can .... Read More

Change the navigation bar title color in SwiftUI

By Samim

In this tutorial, we will see how to change the navigation bar title color in SwiftUI. We can customize the appearance of a navigation bar, including the navigation bar title color.... Read More

Customize sheet in SwiftUI

By Samim

In this tutorial, we will see how we can customize a sheet in SwiftUI. A sheet is a common UI element for displaying secondary views or modals. Sheets have a default appearance, bu.... Read More

Format dates inside text views in SwiftUI

By Samim

In this tutorial, I will show how you can format dates inside text views in SwiftUI. In SwiftUI, we can make our app look more appealing by formatting dates in text views. There ar.... Read More

Detect tap and double-tap gestures in SwiftUI

By Samim

In this tutorial, we will see how to detect tap and double-tap gestures in SwiftUI. We can use onTapGesture modifier to handle taps on Views. We can attach tap actions to any view .... Read More

Prevent the TextField from moving up with the keyboard in SwiftUI

By Samim

In this tutorial, we will see how to prevent the TextField from moving up with the keyboard in SwiftUI. We can use the ignoresSafeArea() modifier to prevent the TextField from movi.... Read More