reloadRootControllersWithNames not work on Apple Watch
Originator: | an00na | ||
Number: | rdar://20690981 | Date Originated: | 24-Apr-2015 03:56 PM |
Status: | Closed | Resolved: | 9.0 |
Product: | iOS SDK | Product Version: | 8.3 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: I designed my Apple Watch app using page-based interface, following Apple Watch Programming Guide: “You can change the set of pages you want to display by calling the reloadRootControllersWithNames:contexts: method early in the launch cycle. For example, you might call that method in the init method of your main interface controller to force WatchKit to load a different set of pages.” It works perfectly on simulator but can not load the pages on Apple Watch. Sample code: http://cl.ly/0O3G1i3B0Z3j Steps to Reproduce: 1. Run sample app on watch simulator to see it works. 2. Run sample app on Apple Watch to see it can’t load pages.
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!