为什么我用scrollView是白色和绿色的

问下为什么scrollView在我的项目里是左边那副样子,在helloworld里却是好的

已经解决了,缺少void AppDelegate::initGLContextAttrs()