aeeble aeeble

Login

Check whether an Apple API supports the platform versions you target

A SwiftUI example can look right for your app until you check the operating systems it needs. Apple Developer brings together tools, framework references, design guidance and sessions for Apple platforms. Use its documentation to check a specific symbol before building around it.

Look up one symbol and read its availability

Open the NavigationStack reference. This SwiftUI view starts with a root view and lets you present additional views over it. Read the availability next to the symbol. The entry lists iOS 16 and macOS 13 among its minimum versions. Compare the entries for every platform your app targets, then check any separate initializer or modifier you plan to use.

Carry that decision into Xcode

Look at your app target’s deployment setting in Xcode. If the minimum version is older than the symbol supports, choose how to handle the older system before replacing the current navigation. Use the Human Interface Guidelines for interaction and layout decisions. The API reference gives you the version and behavior to check when you test the resulting screen.

Images
Ratings
Related Lists