Herlandro Hermogenes
Herlandro Hermogenes

Reputation: 1111

Update Interfaces in the Simulator (without SwiftUI)

I have this example:

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        // Line where the breakpoint will be placed
        view.backgroundColor = UIColor.green
    }
}

I want to add breakpoint, execute the app on the simulator, and when the execution is paused, I want to update the backgroundColor to blue and see the background on the simulator on blue color without reset the application.

Upvotes: 2

Views: 134

Answers (0)

Related Questions