how do I detect live resizing in iOS 26

Asked on 06/16/2025

1 search

To detect live resizing in iOS 26, you can use the isInteractivelyResizing property. This property allows you to determine if a resize interaction is currently happening, which can be useful for optimizing performance by only updating assets or UI elements after the resize interaction has finished. This approach is particularly beneficial for apps with computationally expensive UI elements, such as games.

For more detailed guidance on making your UIKit app more flexible and adaptable to resizing, you can refer to the session Make your UIKit app more flexible (15:11).