So I had another look this morning. Running the app from Xcode 11.5 (11E608c) in an iPhone 11 iOS 13.4 simulator, the method in the extension is not called. However, if I terminate the app from Xcode (via the Stop button) and then relaunch it myself directly in the simulator the extension method is called. The same happens with an iPhone 11 iOS 13.5 simulator. On an iPhone 11 iOS 13.3 simulator it works in either case, whether it is launched from Xcode or not. I'll toss an example project on Github.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: