openframeworks/openFrameworks — pull request #2413 by julapy (2013-08-03 00:29:32+00:00)
Title: ios orientation tweak

i was getting crashes in my ios projects where im only using ofxiOSEAGLView without ofxiOSViewController.
sometime i have to create custom view controllers which do not subclass from ofxiOSViewController.

this fix prevents that crash from occurring by first checking if the glViewController exists in the app delegate class.