WKInterfaceLabel doesn't update the text from NSMutableString
| Originator: | InfoBalestra | ||
| Number: | rdar://20352130 | Date Originated: | 30-Mar-2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | Xcode 6.2 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary:
If we set the text of an WKInterfaceLabel to a NSMutableString, it works correctly the first time. If we append a string to the NSMutableString a second time, the NSMutableString is updated correctly but if we re-update the WKInterfaceLabel the text isn't updated to the new NSMutableString.
Steps to Reproduce:
1. Create NSMutableString ("")
2. Appen String to it hello ("hello")
3. Set WKInterfaceLabel text to the NSMutableString ("hello")
4. Append another string to NSMutableString ("hello Apple")
5. Set WKInterfaceLabel text to the new NSMutableString ("hello Apple")
6. Notice that the WKInterfaceLabel text is still "hello"
Expected Results:
WKInterfaceLabel text to be updated.
Actual Results:
WKInterfaceLabel isn't updated the second time we change the text to a NSMutableString.
Version:
Xcode 6.2
Notes:
Sample project attached
Configuration:
iOS Simulator
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!