Home > other >  How to detect dynamic-island size and changes in SwiftUI & UIKit
How to detect dynamic-island size and changes in SwiftUI & UIKit

Time:09-09

How can we detect the size and changes of the iPhone 14 pro dynamic-island?

Since the safe area provides a safe rectangle inside the rounded screen and top or bottom insets, but nothing about an object inside the rectangle.

The all we know about safe area:

enter image description here

CodePudding user response:

We don't know yet because Apple has not released any APIs for the Dynamic Island yet. The current Xcode 14 Release Candidate does not include related APIs.

Apple engineers in the developer forum have explained that this is coming to iOS 16 and Xcode "later this year".

CodePudding user response:

It is not official, but according to unofficial rumours the dynamic island API will be part of Activities and ActivityKit and would be available later this year of 2022 (exact date not specified ). For further information pay close look for new Beta version of Activities

  • Related