Adding a Custom Event
a. Add the following code to the viewDidLoad() function in the ViewController.swift file.
AppEventsLogger.log("My custom event.");
b. Build the project and then run the project in the Simulator.
c. See the results in the Dashboard.