Uncategorized

How to increase UITabBar height in iOS swift

In this post we will learn how to increase height of UITabBar in UITabBarController using swift programming language. Height of UITabBar cannot be increased either by setting height in interface builder or using a height constraint, only way to achieve it is by writing few lines of code. Learn how to create UITabBarController programmatically in …

How to increase UITabBar height in iOS swift 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 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 of the drop-down functionality https://github.com/AssistoLab/DropDown Installing Dopdown pod …

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

Internet connectivity in iOS – How to check

Earlier we use Reachability classes to check for internet connectivity in iOS sdk. In swift, we commonly use cocoa-pod named Reachability to monitor for network changes. With iOS 12.0, apple provide a new framework named Network framework. In Network framework, we have one class named NWPathMonitor that monitor for network connectivity in iOS sdk. In …

Internet connectivity in iOS – How to check Read More »

How to play video in swift(AVPlayerViewController)

Playing a video in swift is not a very complex task, but thanks to frameworks provide by apple. AVKit framework provides a high level player interface for developer’s to play video in swift language. AVPlayerViewController’s player is capable of playing video, either from file stored locally inside the app bundle or from a file hosted …

How to play video in swift(AVPlayerViewController) Read More »