iOS13에서 Popover에도 Safe Area가 왔다.
iOS12
까지는 Superview
에 대해 Constraint 를 설정해도, Safe Area
에 대해 Constraint 를 설정해도, 아래 그림과 같이 화살표가 없는 영역에 ViewController 가 표시되고 있었습니다.
그러나,
iOS13
에서는, Superview
에 대해 Constraint 를 설정하면,화살표가 포함된 영역까지 ViewController가 표시됩니다.
오른쪽 가장자리로부터의 거리로 레이아웃 설정하고 있으면 오른쪽보다로 보입니다.

이유는 아래 그림과 같이
Superview
가 화살표를 포함한 영역까지 확대되고 있기 때문입니다.기존과 같이 화살표가 없는 영역 내에 표시하려면
Safe Area
를 사용해야 합니다.
대책
Storyboard
에서 Use Safe Area Layout Guides
를 선택합니다.
Superview에 대해 설정한 Constraint를

Safe Area에 대해 다시 설정합니다.

고쳤습니다.

iOS13 beta 8, Xcode11 beta 6을 기반으로 만들었습니다.
릴리스 버전에서는 변경될 수 있습니다.
Reference
이 문제에 관하여(iOS13에서 Popover에도 Safe Area가 왔다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Hackenbacker/items/ed8eeddecc0521527de6텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)