Read through the document to use customised plug-in as a.lib:
https://docs.coronalabs.com/tutorial/native/iosIntro/index.html
just wondering is there an earlier way to communicate between lua and native iOS?
How to pass parameters from iOS native level to Lua directly without using plug-ins?