I wrote a sample on iOS, use OpenGL ES 2.0, then encountered a problem about shaders.
In a simply scene, I do the following


GLuint shaderProgramA;
GLuint shaderProgramB;
......

- (void)...