Uncategorized

How to preload content in SFSafariViewController

SFSafariViewController offers iOS developers to load web page inside their app’s. Though there is another control called WKWebView that does the same thing, but offers more customization’s. One should use WKWebView if your app implements customize behavior (UI or behind the scene thing). If you want to show only a webpage for example privacy policy …

How to preload content in SFSafariViewController 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 »

How to use Alamofire network reachability manager in iOS swift

For an iOS app, using api call to populate data in the app. Check for internet connectivity is required to make app user experience a more better rather than not opting to detect availability of internet.Alamofire is network library written in swift and used in iOS app development for making network requests. This network library …

How to use Alamofire network reachability manager in iOS swift Read More »

iOS tutorial: Create a drop down using swift language in iOS

In this tutorial, we will learn how to create a drop down using swift language in iOS app development. For creating a dropdown, we will use a cocoa-pod named “DropDown” by assistolab. Given below is the url for the pod documentation. You can check that for better understanding about the functionality or features provide by …

iOS tutorial: Create a drop down using swift language in iOS Read More »