willLoadMain

Revision Release 2022.3683
Keywords iOS, Solar2D Native, CoronaDelegate, willLoadMain
See also CoronaDelegate
didLoadMain

Overview

Called directly before main.lua is executed. You should register your Lua extensions here.

In the syntax below, runtime is an object that conforms to the CoronaRuntime protocol.

This method is specific to the Corona delegate protocol. A template can be found in AppCoronaDelegate.mm within Project TemplateAppios.

Syntax

- (void)willLoadMain:id<Runtime>runtime