# Using APIs introduced in iOS minor releases

**URL:** <https://forums.swift.org/t/using-apis-introduced-in-ios-minor-releases/63897>\
**Category:** Using Swift\
**Tags:** swiftui\
**Created:** [March 22, 2023, 10:54pm UTC](https://forums.swift.org/t/using-apis-introduced-in-ios-minor-releases/63897 "2023-03-22T22:54:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jon\_Shier](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jon_shier/32/921_2.png) [@Jon\_Shier](https://forums.swift.org/u/Jon_Shier)\
**Post date:** [March 22, 2023, 11:05pm UTC](https://forums.swift.org/t/using-apis-introduced-in-ios-minor-releases/63897/2 "2023-03-22T23:05:25Z")

</div>

There’s no good solution for this as we can’t check for SDK versions at build time or dynamically check for symbols at runtime. What you can do is a build time check for the Swift version (`#if swift(>=5.8)`) around the checks for the new API. Technically it’s not a guarantee but Apple’s inflexibility with SDK versions in Xcode works in your favor here, so it should be stable.

---

_[View the full topic](https://forums.swift.org/t/using-apis-introduced-in-ios-minor-releases/63897)._
