`reloadRootViewControllersWithNames:contexts` Causes Hang
| Originator: | brian | ||
| Number: | rdar://22405763 | Date Originated: | 8/24/15 |
| Status: | Closed | Resolved: | 8/26/15 |
| Product: | watchOS | Product Version: | 2.0 (13S5325c) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When using the `reloadRootViewControllersWithNames:contexts` API in WatchOS 2 Beta 5, the API causes the WatchOS 2 App to hang on startup or when called. No debugging error is logged to the console and the view controllers are not reloaded. Steps to Reproduce: 1. Call API: `[WKInterfaceController reloadRootControllersWithNames:@[@"FirstInterface", @"SecondInterface"] contexts:nil];` in ExtensionDelegate or other class. 2. Run WatchOS2 app in Simulator or on Apple Watch. 3. View the infinite spinning activity monitor and eventual time-out on Watch Expected Results: `reloadRootViewControllersWithNames:contexts` as described in documentation should load/re-load the specified interface(s) in the given order with the appropriate contexts Actual Results: Calling `reloadRootViewControllersWithNames:contexts` results in a hang of the WatchKit app and eventual timeout of the WatchKit app, no debug messages or errors result. Version: WatchOS 2.0 (13S5325c) Notes: Configuration: MacBook Pro 15" (Late 2013) OS X 10.11 Beta (15A244d), Xcode 7 beta 5, iOS 9 beta 5, watchOS 2 beta 5, iPhone 6 Plus, Apple Watch 42mm
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!
Duplicate of 22084880 (Open)
Apple Developer Relations26-Aug-2015 03:12 PM
Engineering has determined that your bug report is a duplicate of another issue and will be closed.
The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.
If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.