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’ll learn how to determine the main screen’s height and width in both UIKit and SwiftUI. You need to know this if you want your mobile apps to adapt to different screen sizes and orientations. If you are interested in learning how to determine device orientation and how to handle device rotation,…

Read More Determine Main Screen Height and Width in Swift

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