iOS26 新增哪些api

Asked on 06/15/2025

1 search

在iOS 26中,Apple引入了多个新的API,以下是一些主要的更新:

  1. UIKit:

    • 引入了新的API来构建更好的菜单栏,包括主菜单系统配置API。这允许应用程序自定义主菜单中最初提供的系统命令,并可以提前添加自定义项目。What’s new in UIKit
    • 现有的Open URL方法现在接受文件URL,这样你可以传递不被应用程序本地支持的文档。What’s new in UIKit
  2. NetworkExtension:

  3. Foundation:

  4. SwiftUI:

这些更新为开发者提供了更多的工具和灵活性来创建更强大和用户友好的应用程序。

What’s new in UIKit

What’s new in UIKit

Modernize your app with the latest APIs in UIKit, including enhanced menu bar support, automatic observation tracking, a new UI update method, and improvements to animations. We’ll also cover how you can include SwiftUI scenes in your UIKit app and explore SF Symbols, HDR color pickers, and more.

Filter and tunnel network traffic with NetworkExtension

Filter and tunnel network traffic with NetworkExtension

Learn about the APIs in the NetworkExtension framework that give your app the power and flexibility to extend the system’s core networking features — like implementing network content filters, creating and managing VPN configurations, and more. In iOS, iPadOS and macOS 26, you can now build robust content filters that make traffic decisions using the entire URL — not just the hostname — all without compromising privacy and security. We’ll start by briefly covering many of the key use cases for the NetworkExtension framework, including network relays and VPN. Then, we’ll dive into the new URL filter API and its key components, including Private Information Retrieval, Privacy Pass, and more.

Enhance your app’s multilingual experience

Enhance your app’s multilingual experience

Create a seamless experience for anyone who uses multiple languages. Learn how Language Discovery allows you to optimize your app using a person’s preferred languages. Explore advances in support for right-to-left languages, including Natural Selection for selecting multiple ranges in bidirectional text. We’ll also cover best practices for supporting multilingual scenarios in your app.