Getting correct getFrameSize() of iPhone 6 and 6 Plus for cocos2d-x 3.x
To get correct resolutions of iPhone 6 and 6 Plus, LaunchImages and IconImages should be correctly set using Asset Catalog as following:
Then glview->getFrameSize() returns following sizes:
- iPhone 5: 640×1136
- iPhone 6/6s: 750×1334
- iPhone 6/6s Plus: 1242×2208