RTL support: imageFlippedForRightToLeftLayoutDirection not working when used in attributed strings
| Originator: | shai.shamir | ||
| Number: | rdar://24653197 | Date Originated: | 15-Feb-2016 01:25 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | Version 7.2 (7C68) |
| Classification: | 3 - Medium | Reproducible: | Always |
Summary: When using imageFlippedForRightToLeftLayoutDirection to flip image in RTL languages for attributed string the image won’t be flipped. Steps to Reproduce: 1. switch the device to RTL language (Arabic or Hebrew) 2. Run the Attached sample project 3. observe the two sample labels with text and image. Expected Results: 1. Arrow on both labels should point to the left. Actual Results: 1. Arrow on first label that used imageFlippedForRightToLeftLayoutDirection is pointing to the right (WRONG). 2. Arrow n the second label that is using CGIImage flip is pointing to the left (CORRECT). Regression: This happen on all iOS devices when using RTL language. Notes: We are using the CGImage as a workaround until this is fixed.
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!