Set background image to navigationbar in Swift – iOS Swift Tutorial

In this tutorial, we will learn how to set background image to UINavigationBar a background image. Since the iOS 13.0, we do have a new property called appearance, that allows us to change color, font, and image of UINavigationController or UINavigationBar. Prior to iOS 13.0, we can do this by simply setting backgroundImage to UINavigationBar.

Set background image to navigationbar in Swift – iOS Swift Tutorial Read More »

Get difference between two dates in hour minutes – swift

If you are looking for difference between two dates in respect of days, hours, minutes etc., then instead of using timeinterval and calculating days, hours from those seconds. One can use Calendar inbuilt functions to get time difference between two dates as per days, hours, minutes. This can be done using date-components of calendar API

Get difference between two dates in hour minutes – swift Read More »

How to view document directory contents for the app installed on real iPhone device in xcode

Some of the app on which we are working needs to to store some data locally. For example, images or some database file like .sqlite. While working with simulators, its easy to view contents being saved inside document directory. But when you testing your app on real IPhone device then you are not able to

How to view document directory contents for the app installed on real iPhone device in xcode Read More »

Integrate push notification using Firebase messaging in swift – iOS swift tutorial

Things required to integrate Push notification Before we jump on to integrate push notification using Firebase messaging in iOS swift, you need few things at your disposal to test iOS push notification. Below is the list of things required to integrate and check push notification integration in iOS. iPhone device – Push notification did not

Integrate push notification using Firebase messaging in swift – iOS swift tutorial Read More »