UIKit

Resolved in iOS & iPadOS 15 beta 7

  • Collapsing the hardware keyboard shortcut bar now properly invokes leading and trailing edge changes for UIKeyboardLayoutGuide. (74440016)
    折叠硬件键盘快捷栏现在正确调用前边和后边的UIKeyboardLayoutGuide变化。

Resolved in iOS & iPadOS 15 beta 2

Fixed UIKit text views such as UITextView and UILabel to correctly render text styles (bold, italic, code, and strikethrough) when rendering Markdown. (74107883)
固定UIKit文本视图,如UITextView和UILabel正确渲染文本样式(粗体,斜体,代码,和删除线)时,呈现Markdown。
Fixed the availability of UISheetPresentationController property on UIViewController. (77943286)
修正了UIViewController上UISheetPresentationController属性的可用性。
New Features in iOS & iPadOS 15 beta

  • For apps compiled against the iOS 15 beta SDK, key commands no longer intercept text input and text editing commands while typing into text views and text fields. For example, pressing the Delete key always deletes a character and doesn’t trigger a Delete key command if one is present. To have a key command intercept text input, set the wantsPriorityOverSystemBehavior property to true on the key command. This is also required to have key commands take priority over focus keyboard navigation commands, such as arrow and tab key presses. (55118263)
    针对iOS 15 beta SDK编译的应用程序,关键命令不再拦截文本输入和文本编辑命令,而输入文本视图和文本字段。例如,按下Delete键总是删除一个字符,并且不会触发Delete键命令(如果存在的话)。要获得密钥命令拦截文本输入,在密钥命令上设置wantsPriorityOverSystemBehavior属性为true。这也要求按键命令优先于焦点键盘导航命令,如箭头和tab键按下。
  • In iOS 14 and iPadOS 14 and earlier, when autocorrectionType is set to UITextAutocorrectionTypeNo, the QuickType bar is disabled. For apps linked against iOS 15 and iPadOS 15 or later, the QuickType bar is enabled, and shows spellchecking candidates. If the new behavior isn’t desirable for your use case, set spellCheckingType to UITextSpellCheckingTypeNo to hide the QuickType bar. (68874861)
    在iOS 14和iPadOS 14及以前版本中,当“autocorrectionType”设置为“UITextAutocorrectionTypeNo”时,QuickType栏被禁用。对于iOS 15和iPadOS 15或更高版本的应用程序,QuickType栏是启用的,并显示拼写检查候选。如果新的行为不适合你的用例,将spellCheckingType设置为UITextSpellCheckingTypeNo以隐藏QuickType栏。
  • When compiling with the iOS 15 beta SDK, several key window related properties, methods, and notifications change behavior:
    当使用iOS 15 beta SDK编译时,几个关键窗口相关的属性、方法和通知改变行为:
  1. isKeyWindow returns true if the window is key in its scene instead of the app.
    isKeyWindow返回true如果窗口在它的场景中是关键而不是应用程序。
  2. becomeKeyWindow is called when the window becomes key in its scene instead of the app.
    当窗口成为场景中的关键而不是应用程序时,调用becomeKeyWindow。
  3. didBecomeKeyNotification posts when the window becomes key in its scene instead of the app.
    当窗口在它的场景中成为关键而不是应用程序时,didBecomeKeyNotification发布
  4. resignKeyWindow is called when the window resigns key window status in its scene instead of the app.
    当窗口退出场景中的关键窗口状态而不是应用程序时调用resignKeyWindow。
  5. didResignKeyNotification posts when the window resigns key window status in its scene instead of the app. (72873846)
    当窗口在其场景中退出关键窗口状态而不是应用程序时,didResignKeyNotification将发布。

AVFoundation

Deprecations

  • supportedPhotoPixelFormatTypes(for:) and supportedRawPhotoPixelFormatTypes(for:) now return [OSType] instead of [NSNumber] in Swift. (64822071)
    supportedPhotoPixelFormatTypes(for:)和supportedRawPhotoPixelFormatTypes(for:)现在在Swift中返回[OSType]而不是[NSNumber]。
  • recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:) now returns nullable NSDictionary<NSString *, id> * instead of nullable NSDictionary * in Objective-C and [String: Any]? instead of [AnyHashable: Any]? in Swift. (33784279)
    recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:)现在返回null NSDictionary<NSString *, id> *而不是null NSDictionary *在Objective-C和[String: Any]?而不是[AnyHashable: Any]?在斯威夫特。
  • cgImageRepresentation() and previewCGImageRepresentation() now return CGImage? instead of Unmanaged? in Swift. (44734827)
    cgImageRepresentation()和previewCGImageRepresentation()现在返回CGImage?而非托管< CGImage > ?在斯威夫特。
  • recommendedAudioSettingsForAssetWriter(writingTo:) now returns nullable NSDictionary<NSString *, id> * instead of nullable NSDictionary * in Objective-C and [String: Any]? instead of [AnyHashable: Any]? in Swift. (50450334)
    推荐audiosettingsforassetwriter (writingTo:)现在返回可空NSDictionary<NSString *, id> *而不是可空NSDictionary *在Objective-C和[String: Any]?而不是[AnyHashable: Any]?在斯威夫特。

Resolved in iOS & iPadOS 15 beta 3

  • Fixed an issued that caused the User Interface of the new AV Control API to not be functional. (79160982)
    修正了一个导致新的AV控制API的用户界面无法正常工作的问题。

New Features in iOS & iPadOS 15 beta 2

  • iPadOS apps can now continue using the camera while presenting multiple windows and being the only application onscreen. (77522226)
    ipad应用程序现在可以继续使用摄像头,同时显示多个窗口,并成为屏幕上唯一的应用程序。

Privacy

Resolved in iOS & iPadOS 15 beta 4

  • Record App Activity no longer defaults to off after a software update or restore from backup. (77466774)
    记录App活动不再默认关闭后,软件更新或从备份恢复。(77466774)
  • Background pushes are only delivered if the app has been used in the foreground in the past few weeks. (79379996)
    背景推送仅在应用程序在过去几周在前台使用过的情况下才会发送。(79379996)

Resolved in iOS & iPadOS 15 beta 3

  • JSON exports no longer include separate _marker objects or use separate sections for app access and domains. Instead, each record is distinguished by a new "type" property that’s either "access" or "networkActivity". (79119749)
    JSON导出不再包括单独的_marker对象或使用单独的部分的应用程序访问和域。相反,每条记录都由一个新的“类型”属性区分,该属性是“access”或“networkActivity”。(79119749)
  • App access objects in the App Privacy Report export now consistently use the "timeStamp" property name for timestamps. (79128886)
    应用程序访问对象在应用程序隐私报告导出一致使用"timeStamp"属性名称的时间戳。(79128886)
  • App Privacy Report exports now use the .ndjson file extension. (79092016)
    应用隐私报告导出现在使用.ndjson文件扩展名。(79092016)
  • Record App Activity logs no longer contain duplicate entries for the same access. (77168882)
    记录App Activity日志不再包含相同访问的重复条目。(77168882)

Resolved in iOS & iPadOS 15 beta 2

  • Fixed Reset Location and Privacy that didn’t clear Record App Activity logs. (76568242)
    修正重置位置和隐私,没有清除记录App活动日志。(76568242)
  • Fixed Record App Activity log timestamps that didn’t accurately reflect timezone changes. (78278614)
    修正了记录应用程序活动日志的时间戳不能准确反映时区的变化。(78278614)
  • Fixed Record App Activity link preview logging for app network connections that were incorrectly attributed to Safari. (77288250)
    修复了记录应用程序活动链接预览日志的应用程序网络连接错误归因于Safari。(77288250)
  • Fixed an issue that didn’t ask you to confirm deleting recorded data when you turned off Record App Activity. (76404276)
    修正了一个问题,当你关闭记录应用活动时,没有要求你确认删除记录数据。(76404276)

New Features in iOS & iPadOS 15 beta

  • To download a file that shows the app content in the App Privacy Report, choose Settings > Privacy > Record App Activity. (77758720)
    “应用隐私报告”中显示应用内容的文件,选择“设置>隐私>记录应用活动”。(77758720)

Foundation

Resolved in iOS & iPadOS 15 beta 2

  • Fixed an issue in NSAttributedString and AttributedString that caused the system to throw an exception when parsing Markdown containing tables that didn’t explicitly specify table alignments. (77476077)
    修正了一个问题,在NSAttributedString和AttributedString导致系统抛出一个异常,当解析Markdown包含的表没有显式指定表对齐。(77476077)
  • Fixed an issue with English pronouns, both traditional and specified via Morphology.CustomPronoun, that didn’t contribute to inflection. (77621682)
    修正了一个英语代词的问题,包括传统的和通过形态学指定的。CustomPronoun,它没有影响词形变化。(77621682)

New Features in iOS & iPadOS 15 beta

  • Foundation now includes an automatic grammar agreement engine. This simplifies your code and reduces the number of localized strings you provide by automatically inflecting localized strings to account for pluralization, grammatical gender agreement, and agreement with the user’s term of address. It’s available for English and Spanish. (70210115)
    基础现在包括一个自动语法协议引擎。这将简化您的代码并减少您提供的本地化字符串的数量,方法是自动调整本地化字符串以考虑复数、语法性别协议以及与用户地址术语的协议。它提供英语和西班牙语。(70210115)
  • Formatting APIs are now available, which focus on the format and remove the need to create, configure, and cache a formatter instance. Each Formatter type has a formatted function. These functions have arguments that allow for configuration and customization of the style. (70220307)
    格式化api现在可用,它专注于格式,无需创建、配置和缓存格式化器实例。每个Formatter类型都有一个格式化函数。这些函数的参数允许对样式进行配置和定制。(70220307)
  • JSONSerialization and JSONDecoder now support decoding from JSON5. (73954652)
    JSONSerialization和JSONDecoder现在支持从JSON5解码。(73954652)
  • SortDescriptor, KeyPathComparator, and SortComparator APIs provide a Swift interface to express archivable rules for sorting values. (74264359)
    SortDescriptor, KeyPathComparator和SortComparator api提供了一个Swift接口来表达排序值的可归档规则。(74264359)

Networking

Deprecations

  • Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(:::😃. If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845)
    对代理自动配置(PAC)的明文HTTP URL方案的支持现在已被弃用。只对PAC使用HTTPS URL方案。这会影响所有PAC配置,包括但不限于通过Settings, System Preferences, profiles和URLSession api设置的配置,如connectionProxyDictionary和CFNetworkExecuteProxyAutoConfigurationURL(:::😃。如果配置了明文HTTP PAC URL,系统可能会在加载PAC文件时将其升级为HTTPS。通过DNS的Web代理自动发现(WPAD)协议不受影响。动态主机配置协议(DHCP) Option 252 WPAD可能试图在PAC文件加载期间将明文HTTP url升级为HTTPS。(61981845)

New Features in iOS & iPadOS 15 beta

  • The default Accept-Language header that URLSession sends has an updated format and corrected values for multiple locales. In addition to the preferred language, the header also includes the current system language as a fallback if it differs from the preferred language. This behavior affects apps that link against macOS 12, iOS 15, tvOS 15, and watchOS 8 SDKs. (38772422)
    URLSession发送的默认Accept-Language报头具有针对多个地区的更新格式和更正值。除了首选语言外,如果当前系统语言与首选语言不同,头文件还包含当前系统语言作为回退。这种行为会影响链接到macOS 12、iOS 15、tvOS 15和watchOS 8 sdk的应用程序。(38772422)
  • URLSession now includes async functions. (68890254)
    URLSession现在包括异步函数。(68890254)
    For example, a one-shot fetch:
    let (data, response) = try await URLSession.shared.data(from: URL(string: "https://www.apple.com")!) if let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 { // Use data. }
    And support for an AsyncSequence stream of bytes:
    并支持AsyncSequence字节流:
    let (bytes, response) = try await URLSession.shared.bytes(with: URL(string: "https://www.apple.com")!) if let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 { for try await line in bytes.lines() { // Parse line. } }

Maps

Resolved in iOS & iPadOS 15 beta 4

  • Rivers no longer disappear at certain zoom levels. (79993916)
    河流不再消失在某些缩放水平。
  • Buildings no longer overlap roads at certain zoom levels. (79928870)
    建筑物不再重叠道路在某些缩放水平。

Resolved in iOS & iPadOS 15 beta 3

  • Scrolling the Reports view no longer produces unexpected results. (78823129)
    滚动报表视图不再产生意外结果。

Known Issues

  • Rounded building corners might disappear. (80468151)
    圆角建筑可能会消失。
    Resolved in iOS & iPadOS 15 beta 7
    The Bay Bridge now scales correctly at high zoom levels. (79217316)
    海湾大桥现在在高缩放水平正确缩放。
    Deprecations
    MKPinAnnotationView and MapPin are marked as deprecated in this beta. (78536295)
    MKPinAnnotationView和MapPin在本测试版中被标记为弃用。