var result = jsb.reflection.callStaticMethod((“NativeOcClass”,“callNativeUIWithTitle:andContent:”, “cocos2d-js”,“Yes! you call a Native UI from Reflection”));
添加了cocoatouchclass 有警告 为什么找不到UIKit不是有吗?进来模拟器黑屏是反射的方法没找到吗?》
1.4版本
var result = jsb.reflection.callStaticMethod((“NativeOcClass”,“callNativeUIWithTitle:andContent:”, “cocos2d-js”,“Yes! you call a Native UI from Reflection”));
添加了cocoatouchclass 有警告 为什么找不到UIKit不是有吗?进来模拟器黑屏是反射的方法没找到吗?》
1.4版本