# UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!

**URL:** <https://devforum.zoom.us/t/uialertview-is-deprecated-and-unavailable-for-uiscene-based-applications-please-use-uialertcontroller/70831>\
**Category:** iOS\
**Created:** [June 21, 2022, 11:01am UTC](https://devforum.zoom.us/t/uialertview-is-deprecated-and-unavailable-for-uiscene-based-applications-please-use-uialertcontroller/70831 "2022-06-21T11:01:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [September 9, 2022, 10:58pm UTC](https://devforum.zoom.us/t/uialertview-is-deprecated-and-unavailable-for-uiscene-based-applications-please-use-uialertcontroller/70831/3 "2022-09-09T22:58:07Z")

</div>

Hi @basakertugrul9 ,

Check out this thread for context on the UIAlertView deprecation error:

> [@App crash by using scene delegate](https://devforum.zoom.us/t/app-crash-by-using-scene-delegate/32844/2):
>
> Hey @Davidsports Thanks for using the dev forum! Unfortunately, the SDK does not support SceneDelegates currently. The SceneDelegate must be removed and disabled to be able to use the iOS native SDK. If you decide to go this route: Remove the SceneDelegate.m file and SceneDelegate.h file. Remove the UISceneSession code in AppDelegate. Add a UIWindow property to the AppDelegate. @property ( strong , nonatomic ) UIWindow \*window; Let me know if you have any other questions. Thanks! Mich…

> [@basakertugrul9](#):
>
> I’d like to know if there is a way for using SwiftUI and MobileRTC **Alerts** together.

I’ll bring this up in our next SDK sync for some guidance.

Thanks for using Zoom!

---

_[View the full topic](https://devforum.zoom.us/t/uialertview-is-deprecated-and-unavailable-for-uiscene-based-applications-please-use-uialertcontroller/70831)._
