iOS-Develop(Swift)2017.04.27 18:01


    override func viewDidLoad() {

        super.viewDidLoad()

        NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: .UIApplicationWillEnterForeground, object: nil)

    }

    

    func willEnterForeground() {

        // do stuff

        print("complete TEST")

        

    } 


                      
Posted by 평생초보