<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i" -->

---
title: What Is a WebView? How Apps Show Web Content | daily.dev
description: A WebView is a browser engine without the browser UI that a native app embeds to show web content. It powers in-app browsers, ads, hybrid apps, and Office...
canonical: https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What Is a WebView? How Apps Show Web Content | daily.dev
og:description: A WebView is a browser engine without the browser UI that a native app embeds to show web content. It powers in-app browsers, ads, hybrid apps, and Office...
og:url: https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i
og:image: https://api.daily.dev/og/posts/p9sJlty0I.png
og:image:alt: What Is a WebView? How Apps Show Web Content
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What Is a WebView? How Apps Show Web Content

**[Kirupa](https://daily.dev/sources/kirupa)** · 18 min read · 0 upvotes · 0 comments

## Summary

A WebView is a browser engine without the browser UI that a native app embeds to show web content. It powers in-app browsers, ads, hybrid apps, and Office add-ins. Its JavaScript reaches native features only through a bridge the app builds on purpose, so apps should expose specific operations and validate requests. A WebView app owns the page's cookies and scripts, while in-app browser tabs like SFSafariViewController and Custom Tabs use the system browser. Keep Android System WebView updated and don't disable it; Windows apps use WebView2, seen as msedgewebview2.exe.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.kirupa.com/apps/webview.htm>

## Questions this post answers

### What's the difference between a WebView and an in-app browser tab like SFSafariViewController or Custom Tabs?

With a WebView, the app owns everything: its own cookies and logins, and it can watch navigation, change the page, and run JavaScript inside it. An in-app browser tab hands the work to the system browser, shares the browser's cookies and logins, and the app cannot read the page or inject code. Use tabs for third-party sites and sign-in.

_Developers choosing between embedded browsers follow these security trade-offs on daily.dev._

### Can JavaScript in an Android or iOS WebView access native device features?

Only through interfaces the host app deliberately exposes, usually a JavaScript bridge paired with a native bridge. A WebView doesn't grant web content unrestricted system access. Apps should expose specific operations, check the calling context, and validate requests. On Android, addJavascriptInterface exposes the object to every frame, including iframes, and the app can't tell which frame called it.

_Hybrid app developers hardening native bridges keep up with these security patterns on daily.dev._

## Similar posts on daily.dev

- [Using the WebView module with C\+\+ and Qt Widgets](https://daily.dev/posts/using-the-webview-module-with-c-and-qt-widgets-y0xlyhiod) · Qt · 0 upvotes · 0 comments
- [SwiftUI has a native WebView in iOS 26](https://daily.dev/posts/swiftui-has-a-native-webview-in-ios-26-r7vnb7uw8) · Sarunw · 1 upvotes · 1 comments
- [Using alternative browser engines in Japan](https://daily.dev/posts/using-alternative-browser-engines-in-japan-ofcdkl8rh) · Hacker News · 0 upvotes · 0 comments
- [Flutter WebView: I Tried the Advanced super\_webview Package, Here’s What I Found](https://daily.dev/posts/flutter-webview-i-tried-the-advanced-super-webview-package-here-s-what-i-found-8lebsns08) · Medium · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#android](https://daily.dev/tags/android), [#ios](https://daily.dev/tags/ios)

[View this post on daily.dev](https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What Is a WebView? How Apps Show Web Content","url":"https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i"},"datePublished":"2026-11-28T06:30:37.739Z","dateModified":"2026-11-28T06:31:12.343Z","description":"A WebView is a browser engine without the browser UI that a native app embeds to show web content. It powers in-app browsers, ads, hybrid apps, and Office...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5c9c009d641a60ddba703d7e8e961cfe?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5c9c009d641a60ddba703d7e8e961cfe?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Kirupa","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Kirupa","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ff2fdb4927d34b81bd07cd18d6049a98","url":"https://daily.dev/sources/kirupa"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,android,ios","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Kirupa","item":"https://daily.dev/sources/kirupa"},{"@type":"ListItem","position":3,"name":"What Is a WebView? How Apps Show Web Content"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/what-is-a-webview-how-apps-show-web-content-p9sjlty0i#faq","mainEntity":[{"@type":"Question","name":"What's the difference between a WebView and an in-app browser tab like SFSafariViewController or Custom Tabs?","acceptedAnswer":{"@type":"Answer","text":"With a WebView, the app owns everything: its own cookies and logins, and it can watch navigation, change the page, and run JavaScript inside it. An in-app browser tab hands the work to the system browser, shares the browser's cookies and logins, and the app cannot read the page or inject code. Use tabs for third-party sites and sign-in. Developers choosing between embedded browsers follow these security trade-offs on daily.dev."}},{"@type":"Question","name":"Can JavaScript in an Android or iOS WebView access native device features?","acceptedAnswer":{"@type":"Answer","text":"Only through interfaces the host app deliberately exposes, usually a JavaScript bridge paired with a native bridge. A WebView doesn't grant web content unrestricted system access. Apps should expose specific operations, check the calling context, and validate requests. On Android, addJavascriptInterface exposes the object to every frame, including iframes, and the app can't tell which frame called it. Hybrid app developers hardening native bridges keep up with these security patterns on daily.dev."}}]}
```

