iphone - viewWillAppear only being called once -


here's scenario, switchviewcontroller view added main window. switchviewcontroller main view, if want go view b, addsubview of view b, there isn't need remove switchviewcontroller's view right? issue after go view b switchviewcontroller's view, method viewwillappear not being called anymore.

why so?

viewwillappear: not called automatically when view removed or added view hierarchy. responsibility of view controller call @ right time. built-in view controller classes whenever present or push new view controller. since not use mechanism in app, method doesn't called (unless call yourself).


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -