iOS26 新增哪些api
Asked on 06/15/2025
1 search
在iOS 26中,Apple引入了多个新的API,以下是一些主要的更新:
-
UIKit:
- 引入了新的API来构建更好的菜单栏,包括主菜单系统配置API。这允许应用程序自定义主菜单中最初提供的系统命令,并可以提前添加自定义项目。What’s new in UIKit
- 现有的Open URL方法现在接受文件URL,这样你可以传递不被应用程序本地支持的文档。What’s new in UIKit
-
NetworkExtension:
- 引入了新的Any Hotspot Helper Extension API,允许iOS应用在没有Apple Push通知服务的网络上使用本地推送API。Filter and tunnel network traffic with NetworkExtension
-
Foundation:
- 新增了替代日历API,支持更多的替代日历选项,如Gujarati、Marathi和Korean。Enhance your app’s multilingual experience
-
SwiftUI:
- 更新了结构性应用组件如Tab View和Navigation Split View,并引入了Liquid Glass效果来增强控件的视觉表现。Build a SwiftUI app with the new design
这些更新为开发者提供了更多的工具和灵活性来创建更强大和用户友好的应用程序。

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
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
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.