Search Unity

Safe area broken when linked to iOS 13 SDK

Discussion in 'iOS and tvOS' started by stopiccot_tds, Oct 9, 2019.

  1. stopiccot_tds

    stopiccot_tds

    Joined:
    Oct 1, 2016
    Posts:
    111
    If app is built with Xcode 11 and thus linked to iOS 13 SDK then when running on iOS 13 device it will use new "sheet" way for showing modal view controllers. Turns out that dismissing such controller resets safe area to zeros. Link to sample project https://github.com/stopiccot/unity-ios13-safe-area-bug