3

Edit the status bar.

The status bar displays the carrier, time, and charge of the device.

Example

3

Instructions

  1. 1
  2. 2

Edit ViewController.swift

  1. Open ViewController.swift
  2. Copy and paste code

Run

  1. Click Product
  2. Click Run

Code

import UIKit

class ViewController: UIViewController
{
    override func prefersStatusBarHidden() -> Bool
    {
        return true
    }
}
Home Menu