Author: Ferdous Mahmud Akash

Hey there! I’m a self-taught iOS developer from Bangladesh.
I’m very passionate about sharing my knowledge and experience with other aspiring developers.

In this tutorial, you will learn how to drop a MKPointAnnotation pin on a MapView at user’s current location programmatically in Swift. By the end of this tutorial, you will have a working Swift code example that you can use in your mobile application. Step 1: Import MapKit and CoreLocation Firstly, you need to import…

Read More Drop a MKPointAnnotation Pin on a MapView at User’s Current Location

Local notifications are a powerful feature that allows you to engage with your users by sending timely reminders, updates, and alerts directly to their devices. In this tutorial, you’ll learn how to implement local notifications in SwiftUI, focusing on two types of triggers: time interval and calendar. I’ll start by explaining how to request notification…

Read More Create, Schedule and Receive Local Notifications in Swift

In this tutorial, I will guide you through the process of integrating biometric authentication into your iOS application using Swift and the LocalAuthentication framework. By the end of this tutorial, you will have a functional app capable of authenticating users using the built-in biometric sensors of their devices. Step 1: Import Local Authentication Framework First,…

Read More Integrate Touch ID and Face ID for Biometric Security in iOS

In Swift, UIDatePicker is a user interface component that allows users to select a date or time. In this tutorial, I will show you how to create UIDatePicker programmatically. Step 1: Create an Instance of UIDatePicker and Set the Frame Inside your view controller’s viewDidLoad() method, instantiate a UIDatePicker and define the size of the frame. // Instance of…

Read More Create UIDatePicker programmatically in Swift

In this tutorial, you will learn how to customize UINavigationBar appearance programmatically within a UIViewController. You will use the new UINavigationBarAppearance introduced in iOS 15, but I will also provide a fallback for earlier versions. Set the Navigation Bar Background and Title Color For iOS 14 and Earlier Before iOS 15, you would have to…

Read More Customize Navigation Bar Programmatically in Swift

In this tutorial, you will learn how to set the UITextField keyboard return button as the Done button and handle the Done button to dismiss the keyboard. Simply the UITextField is a control that displays editable text and sends an action message to a target object when the user presses the return button. If you are…

Read More Set UITextField Keyboard Return Key as Done button And Dismiss Keyboard

In this tutorial, you will learn how to perform a time-consuming task in a background thread in Swift. In iOS development, achieving concurrency primarily involves effectively utilizing multi-threading. Running multiple threads can give the appearance of simultaneous execution, which is crucial for keeping the UI responsive while performing heavy computations or network requests. Why Background…

Read More Time Consuming Task in Background Thread in Swift