# SwiftUI still not supported?

**URL:** <https://devforum.zoom.us/t/swiftui-still-not-supported/48370>\
**Category:** iOS\
**Created:** [April 20, 2021, 8:51am UTC](https://devforum.zoom.us/t/swiftui-still-not-supported/48370 "2021-04-20T08:51:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlw](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@rlw](https://devforum.zoom.us/u/rlw)\
**Post date:** [April 20, 2021, 8:51am UTC](https://devforum.zoom.us/t/swiftui-still-not-supported/48370/1 "2021-04-20T08:51:17Z")

</div>

Hi, we are experiencing issues with integrating the zoom SDK with a SwiftUI Application. This is similar to [Bug - iOS 13 support](https://devforum.zoom.us/t/bug-ios-13-support/14665)  
Is there any progress in the SDK supporting current iOS Best Practices?

**Description**  
The iOS SDK needs to be compatible with SwiftUI which does not rely on UIWindows anymore. The SDK still uses UIAlertView which is depricated since iOS 8. Initializing the UIAlertView will cause the application to crash with the following crash log:

libc++abi.dylib: terminating with uncaught exception of type NSException

\*\*\* Terminating app due to uncaught exception ‘NSObjectNotAvailableException’, reason: ‘UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!’

terminating with uncaught exception of type NSException

**Which iOS Client SDK version?**  
v5.4.54802.0124

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

When the SDK tries to show an alertView the app will be terminated.

For Example:

if the same host tries to start 2 or more meetings the SDK try to show an error message and it will lead to app terminating.

**Screenshots**  
n/a

**Smartphone (please complete the following information):**

- Device: iPhone XS Max
- OS: iOS 14.4

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 20, 2021, 5:51pm UTC](https://devforum.zoom.us/t/swiftui-still-not-supported/48370/2 "2021-04-20T17:51:01Z")

</div>

Hey @rlw,

Thanks for using the dev forum!

You are correct that the SDK is not designed for SwiftUI, however it is still compatible. Please see this post if you are running into issues integrating with SwiftUI, please see this post: [SwiftUI and Zoom SDK - #11 by tspiresweet](https://devforum.zoom.us/t/swiftui-and-zoom-sdk/46078/11)

We hope to better match the current best practices soon.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 21, 2021, 3:51am UTC](https://devforum.zoom.us/t/swiftui-still-not-supported/48370/3 "2021-05-21T03:51:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
