WatchKit: Text Input Controller Top Row Hangs, Animation Stutters on Dismiss
| Originator: | deemadden | ||
| Number: | rdar://20795782 | Date Originated: | 5/3/2015 |
| Status: | Open | Resolved: | No |
| Product: | WatchKit | Product Version: | iOS 8.2 - Apple Watch 1.0 (12S507) |
| Classification: | Bug | Reproducible: | Yes (I provided a code example) |
Summary: When setting up a basic Text Input Controller with some arguments that is presented from a button action and updates a label, when user selects one of the supplied suggestions, the text input controller will begin exit animation of the rows. When it does, all but the top row will animate out. After about 0.5-1 second, the text input controller freezes for a second, with the top row still stuck in its original position, and the entire text input modal view then disappears without completing the animation. Code example is attached. To operate, tap on the "Present Text Input" button, and select a value. The label at top - center will update with the selected value. This was not a problem in beta releases of WatchKit prior to the final release. This didn't happen when running similar code. Steps to Reproduce: Example: 1. Call presentTextInputControllerWithSuggestions, passing it an array of string values as suggestions. 2. Set the text of a label to the selected value within the presentTextInputControllerWithSuggestions callback. 3. Run the code and perform the use case identified in the above description. Expected Results: Text input controller's staggered row dismissal animation performs smoothly. Actual Results: Text input controller dismiss animation stutters.
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!