How can I use the designResolutionSize in jsb

I can’t use the designResolutionSize in jsb like
cc.EGLView.getInstance().setDesignResolutionSize(320,480,cc.RESOLUTION_POLICY.SHOW_ALL);
how can I use it ?

Yes, CCEGLView hasn’t been exposed to js yet.
I think we should bind cc.Director.getInstance().setDesignResolutionSize instead since cc.Director also has methods like getVisibleOrigin and getVisibleSize.