Custom Keyboards get shifted down by 20 points when In-Call status bar

Originator:thelvis4
Number:rdar://23357303 Date Originated:02-Nov-2015
Status:Duplicate of 22973486 (Open) Resolved:
Product:iOS SDK Product Version:iOS 9
Classification: Reproducible:Yes
 
Summary:
When a custom keyboard opens and the status bar has the In-Call status, the keyboard is shifted down.
The bug can be reproduced on both real devices and iOS Simulators.

I've attached a sample project. It's basically the Custom Keyboard template code.
https://drive.google.com/file/d/0B3wqCukAP9PXcm1rZDlzbmp5d2M/view?usp=sharing

Steps to Reproduce:
1. Toggle the In-Call status bar
2. Launch the Custom Keyboard

Expected Results:
Keyboard to have a proper layout.

Actual Results:
Keyboard's content is shifted down by 20 points.

Version:
iOS 9.0 and iOS 9.1. Not present in iOS 8

Notes:
It's off-topic, but...
Please provide a better way to set a custom height to a custom keyboard. The current API(injecting a layout constraint) is hacky and the functionality gets broken with every major iOS update.
And it also looks jumpy and weird.

Configuration:
All the real devices and the iOS Simulators.

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!