Post marked as solved
Post marked as solved with 1 replies, 424 views
iOS 15 adds a new way to display scenes which Apple seems to call "prominent" (docs). From what I can tell, your scene's window has a frame equal to the devices' main screen but then OS then scales it down for display. This is a problem because it seems that the keyboard's frame is not adjusted for this when listening to keyboard notifications via NotificationCenter which is making it impossible to implement keyboard avoidance for while the scene is displayed prominently. Has anyone else run into this or know of an API to get the actual dimensions of your scene so that it's possible to calculate?