UIAlertController lose content in iOS 9
| Originator: | jacobsenlee | ||
| Number: | rdar://22127896 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Product Version: | iOS 9 | |
| Classification: | Reproducible: | Always |
My app uses UIAlertController for both ActionSheet and Alert. It works fine on iOS 8, but if I run the code from xCode 7 beta on my iOS 9 device, this is not working properly. For action sheet, I can only see 'Cancel' button there ( while there is few other buttons I added ). And for Alert, I only see the background become a little darker, without any alert window/UI at all Later, I notice it happen because I'm forcing semantic to LTR in Arabic system [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceLeftToRight]; If I remove above code, UIAlertController works perfectly Steps to Reproduce: 1. Put [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceLeftToRight]; if the default language is RTL, or put [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft]; if the default language is LTR 2. Show UIAlertController
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!