赞赞赞!
以下加载 base64 图片,在论坛搜索说不支持原生!
百度了一圈,正准备修改 C++呢,结果在jsb_global.cpp jsb_global_load_image里看到加载base64 的代码,
试了一下果然可以.

cocos 2.4.2
记录一下, 以供搜索
const image = new Image();
image.src = this.base64Str;
const texture = new cc.Texture2D();
texture.initWithElement(image);
const sf = new cc.SpriteFrame(texture);
this.sprite.spriteFrame = sf;
