You can add an observer for UIApplicationDidFinishLaunchingNotification inside your view controller's viewDidLoad method:
NSNotificationCenter.defaultCenter().addObserver(self, selector: "yourMethod:", name: UIApplicationDidFinishLaunchingNotification, object: nil)
Add your method to the view controller
func yourMethod(notification: NSNotification?) {
source share