CoronaDelegate

Type Obj-C Protocol
Revision Release 2024.3703
Keywords iOS, Solar2D Native, CoronaDelegate
See also Solar2D Native — iOS (guide)
CoronaRuntime

Overview

CoronaDelegate is an Obj-C protocol that gets invoked by the Corona engine at key points in your app’s execution, for example at startup.

Notes
  • You can intercept UIApplicationDelegate events via your implementation of the CoronaDelegate protocol. This protocol conforms to the UIApplicationDelegate protocol. Corona’s internal delegate will call your protocol’s method if it’s implemented.

  • In most cases, your class’ version will be invoked after Corona’s corresponding version of the UIApplicationDelegate method. The only situation in which your version will be called before is where the app is about to suspend or go to the background, for example applicationWillResignActive and applicationDidEnterBackground.

  • Methods that Apple has deprecated will be ignored.

Methods

(Inherits methods from UIApplicationDelegate)

willLoadMain

didLoadMain