Build: Safe Area Example
This screen shows how to use SafeAreaView to keep content inside the safe area on iPhones with notches or special screen shapes.
Target UI
┌─────────────────────────────┐ │ │ │ ┌───────────────────────┐ │ │ │ Safe Area Content │ │ │ │ Text inside safe area │ │ │ └───────────────────────┘ │ │ │ └─────────────────────────────┘
Use SafeAreaView to wrap the main content
Display a centered text inside the safe area
Background color outside safe area should be gray
Background color inside safe area should be white
Text should say: "This text is inside the safe area"