Summary:
Docs say "The app also posts a UIApplicationWillEnterForegroundNotification notification shortly before calling this method to give interested objects a chance to respond to the transition."
Steps to Reproduce:
1) Register observer on UIApplicationWillEnterForegroundNotification with NSLog
2) Add NSLog in -[UIApplicationDelegate applicationWillEnterForeground:]
3) See which log is sent to stdout first
Expected Results:
log call from UIApplicationWillEnterForegroundNotification observer happens before the one in applicationWillEnterForeground:
Actual Results:
applicationWillEnterForeground: log happens first
Description
Area: UIKit
Summary: Docs say "The app also posts a UIApplicationWillEnterForegroundNotification notification shortly before calling this method to give interested objects a chance to respond to the transition."
Steps to Reproduce: 1) Register observer on UIApplicationWillEnterForegroundNotification with NSLog 2) Add NSLog in -[UIApplicationDelegate applicationWillEnterForeground:] 3) See which log is sent to stdout first
Expected Results: log call from UIApplicationWillEnterForegroundNotification observer happens before the one in applicationWillEnterForeground:
Actual Results: applicationWillEnterForeground: log happens first
Version/Build: iOS 12
Configuration:
- Product Version: iOS 12 Created: 2019-04-11T17:17:07.214653 Originated: 2019-04-11T00:00:00 Open Radar Link: http://www.openradar.me/49817144