UIScreen.bounds incorrect in keyboard extension
| Originator: | colin.myr | ||
| Number: | rdar://18994674 | Date Originated: | 15-Nov-2014 03:22 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 12B411 |
| Classification: | Bug | Reproducible: | Always |
Summary: When a keyboard extension is presented in an app that is being auto-scaled, the properties of UIScreen are not scaled appropriately. In the scaled app itself, they are scaled appropriately. Steps to Reproduce: On an iPhone 6/6+, launch a keyboard extension in launch a keyboard extension in an app that does not provide appropriate launch images for that device. From the keyboard extension, examine the UIScreen properties. Expected Results: The properties of UIScreen should be the same for the keyboard as for the containing app. Actual Results: The properties of UIScreen are different from those of the containing app. Version: iOS 8.1 12B411 Notes: In the included screenshot, the gray frame at the bottom is a keyboard extension. I've also included a sample project. Configuration: iPhone 6, 6+ Attachments: 'IMG_2599.PNG' and 'ScreenPropertyDisplayer.zip' were successfully uploaded.
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!