SWIFT

How to create custom PageViewController using UIScrollView and UIPageControl in IOS Tutorial – Swift

Introduction to custom UIPageViewController using UIScrollView and UIPageControl: UIPageControl in IOS is a control that is used mostly in help screens or info screens for IOS apps. In this we are going to create a small tutorial for UIPageControl in swift language,  and in this tutorial  we will change background color of UIImageView as per page number selected by user on tapping on UIPageControl or …

How to create custom PageViewController using UIScrollView and UIPageControl in IOS Tutorial – Swift Read More »

How to create UIDocumentInteractionController in swift

Introduction to UIDocumentInteractionController Swift: In this post we will learn how to create UIDocumentInteractionController in Swift language. We will create an example app to learn how to use UIDocumentInteractionController in swift. According to Apple docs, UIDocumentInteractionController is a viewcontroller that previews, open, or print files whose file format cannot be handled directly by your app. …

How to create UIDocumentInteractionController in swift Read More »

How to Hide status bar programmatically in swift – tutorial

To hide status bar programmatically using swift in IOS is 3 steps procedure. In this post we will show you an example/ tutorial to hide status bar programmatically using swift. Step 1: Go to info.plist file, select one of its property and click on ‘ + ‘ icon. This will add new row to the file and …

How to Hide status bar programmatically in swift – tutorial Read More »

Save image to document directory in swift – Tutorial

 In iOS, if you need to save image to local disk of iPhone then you need to save it document directory of the app.This post contains tutorial for saving image to document directory using Swift3. Below is the code for saving Image to document directory in swift3 language. Get path of document directory       let …

Save image to document directory in swift – Tutorial Read More »

How to create UIActivityViewController Swift IOS Tutorial

UIActivityViewController using swift is similar to as we create in objective C , you can read it how to create UIActivityViewController in objective C from  here. This post will give you an example of sharing image through UIActivityViewController in Swift. Create a new project and select swift as development language. Add an image to your …

How to create UIActivityViewController Swift IOS Tutorial Read More »