I cannot work out when it it called in my project. The project is an iOS one inherited from someone else, and it uses irrlicht. I am having memory issues so have tried to print out the used/free memory in the applicationWillUpdate function.
It prints mostly when I expect it to, but on some screens it continues to print after the ‘scene change’ from one class to another has finished – and stops a few sseconds later.
Does anyone know exactly when this function would be called?
-applicationWillUpdate: is a native method defined in NSApplicationDelegate protocol and has nothing to do with iOS (it’s from AppKit which is OS X analogy to UIKit). Command-click the name of the method in code and see where it takes you (cmd+click jumps to method definition).