iOS Tutorials: Showing app version


This tutorial will be the simplest of all the tutorials that have ever been published on the site as it literally only use one line of code. Not to forget that the purpose of this tutorial is to showcase your app version on your mobile.

On your Storyboard, drag a UILabel and create an @IBOutlet. I named it App Version but it really doesn’t matter what it’s called.

On your ViewController.swift, add the following line and store it in your label.

And it’s that simple.

  • Article By :
    Founder of DaddyCoding. Studied Computer Science, Information System and Information Technology at BYU-Hawaii. Currently spending most of my time researching and learning on helping to expose making iOS apps.

Random Posts

  • What is nil coalescing?

    Nil-Coalescing is like an else in if statement. It allows you to check if there is a value, and if there […]

  • Introduction to IBAction & IBOutlet

    One of the features that I love about Xcode is the ability to connect an object from the Main.storyboard to […]

  • Toast Third Party Libraries

     SwiftEntryKit SwiftEntryKit is a simple and versatile pop-up presenter written in Swift. Features Banners or Pop-Ups are called Entries. The […]

  • Factorial

    OVERVIEW Factorial is a number accompanied by an exclamation mark. For example, four factorial is written as 4! which simply […]

Leave a Reply

Your email address will not be published. Required fields are marked *