UIProgressView doesn't work in iOS 9.
| Originator: | neilamol | ||
| Number: | rdar://21376396 | Date Originated: | 14-Jun-2015 04:33 PM |
| Status: | Duplicate of 21466155 (Open) | Resolved: | NO |
| Product: | iOS SDK | Product Version: | 9 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Setting the progress of a UIProgressView doesn't work in iOS 9 using either the "progress" property or "- setProgress:animated:". No matter what, the progress of the UIProgressView will always be 0.0. Steps to Reproduce: 1. Using Xcode 7 (7A120f), Create a UIProgressView in Storyboard and connect it to code. Deployment target is iOS9. 2. Try to change the UIProgressView's progress by modifying the "progress" property or using "- setProgress:animated:" in viewDidLoad. 3. Run the project in the iOS 9 simulator. Expected Results: UIProgressView should show the new progress when the view loads. For example, if the code says "[self.testProgressView setProgress:1.0 animated:YES];" then the progress view should be completely filled. Actual Results: If "animated:" is set to "NO," then the progress view starts at the correct progress when the view loads, but then quickly animates down to 0.0. If "animated:" is set to "YES," then the same thing happens, but the progress view itself also incorrectly animates its own size and position. Version: Xcode 7 (7A120f) running on OS X 10.11 Notes: This issue is not entirely present in iOS 8.3. Setting "animated:" to "YES" is still somewhat buggy, but setting "animated:" to "NO" works perfectly in iOS 8.3.
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!