I want to know the target platform in lua, but I don’t know how,could anybody tell me? thanks a lot.
In the v3.0,you can use cc.Application:getInstance():getTargetPlatform()
, and in the v2.2 you can use CCApplication:sharedApplication():getTargetPlatform()
Thank you!