I have a ViewController that adds to other subviews which have subclassed uiviewControllers
so Its like this:
mainViewController
|
v---------v
subVC1 subVC2
And neither subVC1 or subVC2 have the viewDidAppear/viewWillAppear fired on them?
The main view controller is creating in the app delegate and it view added there as well to the window.
Here is an xcode project to show my problem: http://www.qfpost.com/download.do?get=92f03538907e72665ea794d98ff8392b
I had a look at your code.
So the problem is that viewWillAppear/viewDidAppear get called when the view is added to the Window, not to one of it’s subview.
You might want to use viewDidLoad for that.