Revision Release 2022.3683 Keywords iOS, Solar2D Native, CoronaDelegate, willLoadMain See also CoronaDelegate didLoadMain
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 Template
→ App
→ ios
- (void)willLoadMain:id<Runtime>runtime