3

Edit the status bar.

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

Example

3

Instructions

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
    }
}
HomeMenu