By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: SwiftUI for iOS 26 Embraces LiquidGlass, Introduces WebView and Rich Text Editing
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > SwiftUI for iOS 26 Embraces LiquidGlass, Introduces WebView and Rich Text Editing
News

SwiftUI for iOS 26 Embraces LiquidGlass, Introduces WebView and Rich Text Editing

News Room
Last updated: 2025/06/25 at 3:54 AM
News Room Published 25 June 2025
Share
SHARE

At WWDC 2025, Apple unveiled the latest iteration of its declarative UI framework, SwiftUI, featuring two major additions: a new SwiftUI-native WebView type and support for rich-text editing within TextView controls. The update also brings a plethora of additional improvements and new performance tools.

The new WebView type displays HTML, CSS, and JavaScript content within an app. By default, the view provides a familiar browsing experience, including support for navigating between web pages using links, and forward and back buttons. However, you can fully customize navigation behavior by associating a WebView with a WebPage. This is an @Observable class that exposes web content properties and allows tracking changes to them. For example, you can track when a page is fully loaded observing currentNavigationEvent.

To make rich-text editing easy to implement, SwiftUI in iOS 26 extends the TextEditor view with support for AttributedString. As Apple demonstrated at WWDC, enabling rich-text editing is as simple as changing the type of the bound state passed to TextEditor during initialization:


struct RichEditorView: View {
    @State private var text = AttributedString()

    var body: some View {
        TextEditor(text: $text)
    }
}

Apple has provided a code sample that developers can use to explore the full range of capabilities, including adding custom controls and limiting the formatting options available in the editor.

A new macro, @Animatable, simplifies animating views, view modifiers, text renderers, shapes, and other structs or classes. It automatically synthesizes conformance to the Animatable protocol by implementing the animatableData property based on the animatable properties declared in the type. For instance, you can use it like shown below to animate the width and angle properties while excluding non-animatable properties like isOpaque:


@Animatable
struct CoolShape: Shape {
    var width: CGFloat
    var angle: Angle
    @AnimatableIgnored var isOpaque: Bool

    // ...
}

Several additions benefit developers working with both UIKit and SwiftUI. Notably, the new UIHostingSceneDelegate class enables bridging SwiftUI scenes into UIKit, much like how UIHostingController allows managing a SwiftUI view. This extends integration capabilities to full scenes, not just individual views.

Last but not least, SwiftUI fully supports the new Liquid Glass design language. Liquid Glass is a dynamic material combining the optical properties of glass with a sense of fluidity. It refracts content from below it, reflects light from around it, and has a lensing effect along its edges, giving interfaces a sense of depth and motion.

To take advantage of it, apps do not need to be redesigned, just rebuilt with Xcode 26 to take advantage of the new design. However, to fully embrace Liquid Glass, Apple recommends reviewing how foreground elements contrast with dynamic backgrounds, and optionally using new system materials to ensure accessibility and visual harmony.

On a related note, iOS 26 also includes an enhanced version of Swift Charts, now with support for 3D graphics. This update allows developers to plot data in three dimensions, visualize mathematical surfaces, and create more immersive and informative visualizations. Swift Charts now lets developers configure the camera, adjust lighting and materials, and fine-tune rendering properties.

SwiftUI 26 includes far more than we can cover here, so be sure to check out the official WWDC sessions for the full detail.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Horizon Robotics invests in Didi’s self-driving truck unit · TechNode
Next Article VW’s JV to hire 300 workers with Horizon Robotics · TechNode
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Computer Village merchants recommend laptops for different needs
Computing
Before iOS 26, Apple Could Bring Some Bug Fixes to Your iPhone With iOS 18.6
News
Walmart Plus subscribers can order the Nintendo Switch 2 later today
News
Delegating AI Permissions to Human Users with Permit.io’s Access Request MCP | HackerNoon
Computing

You Might also Like

News

Before iOS 26, Apple Could Bring Some Bug Fixes to Your iPhone With iOS 18.6

4 Min Read
News

Walmart Plus subscribers can order the Nintendo Switch 2 later today

2 Min Read
News

What the UK can learn from Macron’s AI strategy – UKTN

1 Min Read
News

How Hideo Kojima created yet another weird, wonderful world in Death Stranding 2

10 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?