Eaglview makes black screen when modalview dismissed

hello, I developing a game with cocos2d-x v3.5.
I’ve tried attach some socialPlatform sdk, that works fine. however, it’s renderer resizes to 2272*1280(origin size was half) itself at layoutSubviews() (in CCEAGLView-ios.mm), when rootviewcontroller’s modal view disappeared…

but modalview’s size is 568*320, and the other layer’s doesn’t have so huge size…

is there any way to force eaglview layersize or fix this problems?
I hope somebody can helps me

thanks.