iphoneSafeAreaInsets | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the safe area insets of the device the app is running on. | ||||||
Introduced | 9.6.6 | ||||||
OS | ios | ||||||
Platforms | mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Description | Use the iphoneSafeAreaInsets function to get the safe area insets of the device the app is running on. The safe area of a view reflects the area not covered by device furniture items, e.g. the notch, that obscure a view controller's view, and the insets denote the spacing between the device's screen's edges and where this safe area begins. These can be used to adjust your app's user interface elements to avoid areas that will not be fully visible. |