viewDidAppear/viewWillDisappear won't called any longer if I add the view controller to a hidden view in the beginning
| Originator: | stephan.michels | ||
| Number: | rdar://17707286 | Date Originated: | 17-Jul-2014 07:50 AM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | Mac OS X 10.10 (Beta 3) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: viewDidAppear/viewWillDisappear won't called any longer if I add the view controller to a hidden container view in the beginning Steps to Reproduce: If I add a view controller to a hidden container view, then viewWillAppear is called (which is wrong in the first place). viewDidAppear is not called, which is correct. If I make then the container view visible, then viewDidAppear is not called, or even if I hide the container view again the methods viewWillApear/viewDidAppear/viewWillDisappear/viewDidDisappear remains broken. Everything is ok if I add the view to a visible container view in the beginning. Expected Results: These lifecycle methods should works even if the container view is hidden in the beginning. Actual Results: The methods viewWillApear/viewDidAppear/viewWillDisappear/viewDidDisappear aren’t called any longer if the container view is hidden in the beginning.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!