Avatar
Avatar
Shun Takeishi (Apple)
こちらですが現在のところは、そのUIKitの新しいLayoutRegionでしか取得ができません。SwiftUIについてはお手数ですが、http://feedbackassistant.apple.com/ へFeature Requestとして登録いただけると幸いです
ご回答ありがとうございます!承知しました...!
6:17 AM
(同僚が)調べていたんですが、こちらで取得できていそうでした! https://developer.apple.com/documentation/swiftui/geometryproxy/containercornerinsets
Returns the corner insets of the container view. Use this value to adjust the geometry of a view based on the overlapping corner insets of the container view. Corner insets may include pieces of system UI as well as the corner radii for windows and presentations.
👍 1