userInterfaceLevel on UITraitCollection, returns always elevated when using app in split-screen mode on iPad

Originator:daniel.szabo
Number:rdar://FB10807065 Date Originated:Jul 21, 2022 at 4:06 PM
Status:Open Resolved:
Product:UIKit Product Version:iPadOS 15.6
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
`userInterfaceLevel` property on UITraitCollection, returns always `.elevated` value instead of `.base` when using app in split-screen mode on iPad. Steps to reproduce: - Run the demo application on iPad - The center label displays `base` - Open another application split-screen - The center label changes to `elevated` Expected behavior: - The center label should stay on `base` iPadOS version: 15.6 (19G71) Device: iPad Pro (12.9-inch) (5th generation) Xcode: 13.4.1 (13F100)

Comments

Demo app

https://github.com/daniel-szabo-instructure/bugreport-FB10807065

By daniel.szabo at July 21, 2022, 2:26 p.m. (reply...)

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!