willLoadMain

Revision 2018.3302
Keywords iOS, Corona 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