C++

Example call

SonarCocosHelper::IOS::methodToCall( );

Initializes the Cocos Helper for use, only needs to be called once

static void Setup( );

Opens the share dialog

static void Share( cocos2d::__String shareString, cocos2d::__String imagePath );

JavaScript

Example call

SonarCocosHelper.IOS.methodToCall( );

Initializes the Cocos Helper for use, only needs to be called once

SonarCocosHelper.IOS.Setup = function ( )

Opens the share dialog

SonarCocosHelper.IOS.Share = function ( shareString, imagePath )