Need to Understands the Multi Resolution Support in cocos2dx

Hello devs,
hope you all working well…
kindly please help me to understand that what changes and what code (ResolutionPolicy) required for project in Android and ios to Support Multi Resolution without stretch images in cocos2dx c++.

I recommend using cocos creator as your development tool. Since some of the cocos2d-x documentation is no longer available, I’ll list the schematics of each adaptation rule below for easy design reference.

more information you can look into some cocos2d-x teach books.
https://subscription.packtpub.com/book/game-development/9781783284757/1/ch01lvl1sec15/implementing-multi-resolution-support

// the screen size
glView->setFrameSize(960, 640);

// the design size
glview->setDesignResolutionSize(480, 320, ResolutionPolicy::SHOW_ALL);

wKioL1QG8--giZa-AAEgbplGZdw587
wKiom1QG8-zBwDRiAAD00smIMss790
wKiom1QG8-zxDYe8AAEkbDd4bjs111
wKioL1QG8-_DqPM-AAEZ_8A6D34121
wKioL1QG8-_TuGsLAAD39oAYrEo645