Hi, All.
I found a minor issue on OGRE for iOS, I want to share this information.
In case of UIViewController has overrided loadView, Operation system recognize the view owned by this controller is safe unloadble.
Therefore sometimes OGRE's 3D view will be blank after didReceiveMemoryWarning occurs in disappearing by pushViewController, etc.
To workaround this, just delete loadView implementation from EAGL2ViewController.
If loadView must be implemented, loadView must be possible to set EAGL2View up completely. If it cannot, it's better that loadView is not implemented.
[iOS]loadView of EAGL2ViewController is unneccesary
-
- Gnoblar
- Posts: 17
- Joined: Wed May 25, 2011 5:17 pm
-
- OGRE Retired Team Member
- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: [iOS]loadView of EAGL2ViewController is unneccesary
Would you be able to submit a patch for this so it doesn't get lost on the forums?
-
- Gnoblar
- Posts: 17
- Joined: Wed May 25, 2011 5:17 pm
Re: [iOS]loadView of EAGL2ViewController is unneccesary
I submitted.
https://sourceforge.net/tracker/?func=d ... tid=302997
Sorry, I should have posten this topic on papercuts forum.
https://sourceforge.net/tracker/?func=d ... tid=302997
Sorry, I should have posten this topic on papercuts forum.