---
title: "Discussion on \"How to handle popups and alerts in WKWebView\" | Hashnode"
description: "Discussion on \"How to handle popups and alerts in WKWebView\". In this blog post, I'll explain how you can support popups and alerts in WKWebView because this is not supported out of the box.\nDefault behavior\nThe following cases do not work in a WKWebView automatically:\n\nopening a new tab/window with <a> HTML el..."
url: "https://hashnode.com/posts/how-to-handle-popups-and-alerts-in-wkwebview/635606353e7cd201dea0676b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to handle popups and alerts in WKWebView](https://blog.eidinger.info/how-to-handle-popups-and-alerts-in-wkwebview?utm_source=hashnode&utm_medium=feed)

In this blog post, I'll explain how you can support popups and alerts in WKWebView because this is not supported out of the box. Default behavior The following cases do not work in a WKWebView automatically: opening a new tab/window with <a> HTML el...

Oct 24, 2022 · 3 min read · blog.eidinger.info  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

@MarcoEidinger

  
[View profile](https://hashnode.com/@MarcoEidinger)

#Swift #iOS SDK architect 🇺🇸 🇩🇪

I am a Software Engineer working on open source and enterprise mobile SDKs for iOS and MacOS developers written in Swift. From 🇩🇪 and happily living in 🇺🇸

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
