UITextView's contentOffset is wrong when shown through a navigation controller
| Originator: | AKMarinov | ||
| Number: | rdar://18985045 | Date Originated: | 14-Nov-2014 08:06 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.1.1 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When UITextView is shown in a navigation controller it’s contentOffset property is wrong. Steps to Reproduce: 1. Run the attached project 2. Tap the “Tap me!“ button 3. Observe that the UITextView is partially hidden. The contentOffset property is correct on viewWillAppear but gets set to a wrong value before viewDidAppear. Expected Results: The UITextView should have a contentOffset of 0,0 Actual Results: The UITextView has a contentOffset of 0,192 Regression: The issue occurs in iOS SDK 8.1 and all prior. Notes: Attached you’ll find a sample project that reproduces the issue.
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!