SwiftUI still not supported?

Hi, we are experiencing issues with integrating the zoom SDK with a SwiftUI Application. This is similar to Bug - iOS 13 support
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
1 Like

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

We hope to better match the current best practices soon.

Thanks!
Michael

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