3
Edit the status bar.
The status bar displays the carrier, time, and charge of the device.
Example
Instructions
Edit ViewController.swift
- Open ViewController.swift
- Copy and paste code
Run
- Click Product
- Click Run
Code
import UIKit class ViewController: UIViewController { override func prefersStatusBarHidden() -> Bool { return true } }