Find number of lines for UILabel – Swift Tutorial
iOSTutorialJunction
by leoiphonedev
1y ago
In iOS app development, sometimes we do need to find number of lines shown by our UILabel. So that we can make adjustment to our app user interface via finding number of lines UILabel has drawn. In this tutorial we will get a code snippet that exactly does same thing, i.e. calculating number of line … Find number of lines for UILabel – Swift Tutorial Read More ..read more
Visit website
How to view document directory contents for the app installed on real iPhone device in xcode
iOSTutorialJunction
by leoiphonedev
2y ago
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 ..read more
Visit website
Integrate push notification using Firebase messaging in swift – iOS swift tutorial
iOSTutorialJunction
by leoiphonedev
2y ago
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 ..read more
Visit website
How to increase UITabBar height in iOS swift
iOSTutorialJunction
by leoiphonedev
2y ago
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 ..read more
Visit website
How to save a structs to UserDefaults in swift
iOSTutorialJunction
by leoiphonedev
2y ago
One can save struct, conforming to Codable protocol can be saved to UserDefaults. It’s a very easy and simple task to save Structs to UserDefaults, though inly condition is that your Struct should conform to Codable protocol. As I am assuming you’re aware about Codable protocol and how it has made the task of JSON … How to save a structs to UserDefaults in swift Read More ..read more
Visit website
How to use Alamofire network reachability manager in iOS swift
iOSTutorialJunction
by leoiphonedev
3y ago
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 ..read more
Visit website
IOS tutorial: Create a drop down using swift language in iOS
iOSTutorialJunction
by leoiphonedev
3y ago
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 ..read more
Visit website
Inout parameter swift – Beginner guide
iOSTutorialJunction
by leoiphonedev
4y ago
By default parameters in swift function are constant. It means you can not change parameters values from inside of the function in swift. Sometimes we need to get parameters value to be modified from inside the function. So here, inout parameters comes to rescue as inout parameter in swift act like a reference type. Have … inout parameter swift – Beginner guide Read More » The post inout parameter swift – Beginner guide appeared first on iOSTutorialJunction ..read more
Visit website
Custom video player in swift using AVPlayer
iOSTutorialJunction
by leoiphonedev
4y ago
Apple provided AVKit framework, to allow developers play multimedia content inside their apps. With AVPlayerViewController, we can use Apple default playback controls. But in case if we want to play video in our customized player, then AVPlayer class comes to rescue. In this tutorial, we will learn how to play video using AVPlayer in swift. … Custom video player in swift using AVPlayer Read More » The post Custom video player in swift using AVPlayer appeared first on iOSTutorialJunction ..read more
Visit website
Play video in swift using AVPlayerViewController
iOSTutorialJunction
by leoiphonedev
4y ago
Playing a video in swift is not a very complex task, thanks to frameworks provide by apple. AVKit framework provides a high level interface for developer to play video content. Video player is capable of playing video, either from stored locally or from a remote URL. Play video using AVPlayerViewController AVPlayerViewController gives developer ability to ... Read more Play video in swift using AVPlayerViewController The post Play video in swift using AVPlayerViewController appeared first on iOSTutorialJunction ..read more
Visit website

Follow iOSTutorialJunction on FeedSpot

Continue with Google
Continue with Apple
OR