2018-09-30 ios12发布说明

1 App Store

原文

While signed in with a production account and testing with a sandbox account, attempting to fetch a new valid receipt displays a sign-in prompt for the production account with no option for switching to the sandbox account. (42862150)
Workaround: For testing purposes, StoreKit calls such as making a purchase and restoring transactions will fetch a new receipt. Alternatively, sign out of the production account.

使用生产帐户登录并使用沙盒帐户进行测试时,尝试获取新的有效收据会显示生产帐户的登录提示,但不能选择切换到沙盒帐户。(42862150)
解决方法:出于测试目的,StoreKit调用(例如进行购买和恢复事务)将获取新收据。 或者,退出生产帐户。

2 Core Graphics

原文

Various Core Graphics calls have been hardened against continuing with invalid parameters. In iOS 12, these calls may now return nil or return early. (38344690)

各种核心图形调用已经过强化,无法继续使用无效参数。 在iOS 12中,这些调用现在可以返回nil或提前返回。(38344690)

3 Core ML

New Features
Support for quantized models (≤ 8-bit linear and/or lookup table)
Support for flexible image sizes and multi-array shapes
Batch prediction API
Support for custom models
Support for Create ML models (Vision Feature Print, Text Classifier, Word Tagger)

264/5000
新功能
支持量化模型(≤8位线性和/或查找表)
支持灵活的图像大小和多阵列形状
批量预测API
支持自定义模型
支持创建ML模型(Vision Feature Print,Text Classifier,Word Tagger)

4 HomeKit

Inviting iOS 11 users who have multiple email addresses associated with their Apple ID to a home might not succeed. (41033550)
Workaround: Send the invitation to a different email address or phone number associated with the Apple ID of the iOS 11 user.

邀请具有与其Apple ID相关联的多个电子邮件地址的iOS 11用户可能无法成功。(41033550)
解决方法:将邀请发送到与iOS 11用户的Apple ID关联的其他电子邮件地址或电话号码。

5 Maps

Traffic data might not be displayed. (43254370)
Workaround: Tap the Settings button (ⓘ) to reveal Maps Settings and toggle the Traffic switch on.

可能不会显示交通数据。(43254370)
解决方法:点击“设置”按钮(ⓘ)以显示“地图设置”并切换“交通”开关。

6 MediaPlayer Framework

When perform (queueTransaction:completionHandler:) is called on applicationqueueplayer to modify the position of a song, the queue returns unchanged. (39401344)

当在applicationqueueplayer上调用perform(queueTransaction:completionHandler :)来修改歌曲的位置时,队列返回不变。(39401344)

6 Networking

New Features
The URLSession HTTP/2 implementation supports HTTP/2 connection reuse per RFC 7540 Section 9.1.1. This requires an HTTP/2 server to present a certificate which covers more than one server hostname. The certificate may use the Subject Alternative Name extension or wild-carded domain names. In addition, URLSession requires name resolution to resolve the different hostnames to the same IP address. URLSession may reuse HTTP/2 connections across different domain names when these conditions are satisfied. (37507838)
Deprecations
FTP and File URL schemes for Proxy Automatic Configuration (PAC) are deprecated. HTTP and HTTPS are the only supported 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(::::). (37811761)

新功能
URLSession HTTP / 2实现支持RFC 7540第9.1.1节中的HTTP / 2连接重用。 这要求HTTP / 2服务器提供涵盖多个服务器主机名的证书。 证书可以使用主题备用名称扩展名或通配符域名。 此外,URLSession需要名称解析才能将不同的主机名解析为同一IP地址。 当满足这些条件时,URLSession可以在不同域名之间重用HTTP / 2连接。
弃用
不推荐使用代理自动配置(PAC)的FTP和文件URL方案。 HTTP和HTTPS是PAC唯一支持的URL方案。 这会影响所有PAC配置,包括但不限于通过设置,系统首选项,配置文件和URLSession API(如connectionProxyDictionary)和CFNetworkExecuteProxyAutoConfigurationURL(::: :)设置的配置。

6 Phone and FaceTime

Group FaceTime has been removed from the initial release of iOS 12 and will ship in a future software update later this fall.
In iOS 12, Camera Effects in Messages is available only on iPhone SE and iPhone 6s or later and is unavailable on iPad. Camera Effects in FaceTime is available only on iPhone 7 or later and is unavailable on iPad.
Wi-Fi calls might end unexpectedly when transitioning from Wi-Fi to cellular while on the T-Mobile network. (39251828)

Group FaceTime已从iOS 12的初始版本中删除,并将在今年秋季晚些时候的未来软件更新中发布。
在iOS 12中,“消息中的相机效果”仅适用于iPhone SE和iPhone 6s或更高版本,并且在iPad上不可用。 FaceTime中的相机效果仅适用于iPhone 7或更高版本,并且在iPad上不可用。
当在T-Mobile网络上从Wi-Fi转换到蜂窝时,Wi-Fi呼叫可能意外结束。(39251828)

7 Screen Time

The start and stop times for Downtime might change unexpectedly if they were configured prior to installing iOS 12 beta 9. (43393555)
Workaround: Update all devices associated with the iCloud account to the release version of iOS 12 and reset the start and stop times for Downtime.
After updating to iOS 12, parents should change the Screen Time passcode to prevent children from signing out of iCloud or changing the system time. (42879250)
“Picked Up Phone” statistics might be inflated due to data syncing from other devices signed into the same iCloud account. (39917173)

如果在安装iOS 12 beta 9之前配置了停机时间,则启动和停止时间可能会意外更改。(43393555)
解决方法:将与iCloud帐户关联的所有设备更新到iOS 12的发行版,并重置停机时间的开始和停止时间。
更新到iOS 12后,家长应更改屏幕时间密码,以防止孩子退出iCloud或更改系统时间。(42879250)
由于登录到同一iCloud帐户的其他设备的数据同步,“Picked Up Phone”统计信息可能会膨胀。(39917173)

8 Siri

  • When using INUIAddVoiceShortcutButton, the “Add to Siri” and “Added to Siri” button text isn’t localized. (43251696)
    Workaround: To localize “Add to Siri” and “Added to Siri” button text, include localizations for this text in the strings files of your app bundle.
  • While multiple ride-sharing apps are installed, Siri might open the app instead of providing an ETA or location when asked. (42324032)
    Workaround: Ask Siri for the ETA or location again.
  • Siri Shortcuts might not work if a device is locked. (41307405)
  • Siri Suggestions for Shortcuts are enabled on iPhone 6s or later, iPad Pro, iPad (5th generation or later), iPad Air 2, and iPad mini 4. (40669231)

*使用INUIAddVoiceShortcutButton时,“添加到Siri”和“添加到Siri”按钮文本未本地化。(43251696)
解决方法:要本地化“添加到Siri”和“添加到Siri”按钮文本,请在应用程序包的字符串文件中包含此文本的本地化。
虽然安装了多个乘坐共享应用程序,但Siri可能会打开应用程序,而不是在被问到时提供ETA或位置。(42324032)
解决方法:再次询问Siri的ETA或位置。
如果设备被锁定,Siri快捷方式可能无效。(41307405)
在iPhone 6s或更高版本,iPad Pro,iPad(第5代或更高版本),iPad Air 2和iPad mini 4 \上启用Siri建议的快捷方式。(40669231)

9 UIKit

You might encounter issues with systemLayoutSizeFitting(_:) when using a UICollectionViewCell subclass that requires updateConstraints(). (42138227)
Workaround: Don’t call the cell’s setNeedsUpdateConstraints() method unless you need to support live constraint changes. If you need to support live constraint changes, call updateConstraintsIfNeeded() before calling systemLayoutSizeFitting(_:).

使用需要updateConstraints()的UICollectionViewCell子类时,可能会遇到systemLayoutSizeFitting(_ :)的问题。(42138227)
解决方法:除非需要支持实时约束更改,否则不要调用单元格的setNeedsUpdateConstraints()方法。 如果需要支持实时约束更改,请在调用systemLayoutSizeFitting(_ :)之前调用updateConstraintsIfNeeded()。

10 USB Accessories

To improve security, iOS 12 may require you unlock your passcode-protected iPhone, iPad, or iPod touch in order to connect it to a Mac, PC, or USB accessory.
If you use iPod Accessory Protocol (iAP) USB accessories over the Lightning connector (such as CarPlay, assistive devices, charging accessories, or storage carts) or you connect to a Mac or PC you might need to unlock your device to recognize the accessory. If you don't unlock your device, it won't communicate with the accessory or computer, and it won't charge. Note that you don't need to unlock your device to charge using an Apple USB power adapter.
If a USB accessory isn't recognized after you unlock your device, disconnect it, unlock your device, and reconnect the accessory.
If you normally use a USB assistive device to enter your passcode, you may allow it to communicate with your device while it is locked by enabling “USB Accessories” in Settings > Face ID/Touch ID & Passcode.

为了提高安全性,iOS 12可能会要求您解锁受密码保护的iPhone,iPad或iPod touch,以便将其连接到Mac,PC或USB附件。
如果您使用Lightning接口上的iPod附件协议(iAP)USB配件(例如CarPlay,辅助设备,充电配件或存储车)或连接到Mac或PC,则可能需要解锁设备才能识别附件。 如果您没有解锁设备,它将无法与配件或计算机通信,也不会充电。 请注意,您无需使用Apple USB电源适配器解锁设备即可充电。
如果解锁设备后无法识别USB配件,请断开连接,解锁设备,然后重新连接配件。
如果您通常使用USB辅助设备输入密码,则可以通过在设置>面部识别/触摸ID和密码中启用“USB附件”来允许其在设备锁定时与您的设备进行通信。

11 Xcode

When using Messages in the iOS Simulator, a message might not be delivered from User A to User B. (40916530)
Workaround: Send a message from User B to User A.

在iOS模拟器中使用消息时,可能无法从用户A向用户B发送消息。(40916530)
解决方法:从用户B向用户A发送消息。

12 Foundation

主要修改分类:

Secure Data Archival and Unarchival

Secure Value Transformer

NSSecureCoding Conformance

Macro for Closed Enumerations

UserDefaults

On-Demand Resources

Thread Safety of Bundles

CFMessagePort

详情见:
Foundation

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 211,423评论 6 491
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,147评论 2 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,019评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,443评论 1 283
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,535评论 6 385
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,798评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,941评论 3 407
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,704评论 0 266
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,152评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,494评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,629评论 1 340
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,295评论 4 329
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,901评论 3 313
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,742评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,978评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,333评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,499评论 2 348

推荐阅读更多精彩内容