Mastodon
Zdjęcie okładkowe wpisu Dzień beta – iOS 13.1, iPadOS 13.1, watchOS 6 beta 9 oraz tvOS 13 beta 8

Dzień beta – iOS 13.1, iPadOS 13.1, watchOS 6 beta 9 oraz tvOS 13 beta 8

0
Dodane: 5 lat temu

Premiery wrześniowe już coraz bliżej zatem można było się spodziewać kolejnych bet systemów. Ostatnia aktualizacja była niecały tydzień temu, tymczasem Apple zaskoczyło wszystkich i wypuściło kolejną, ale przeskakując “numer”.

Pojawiły się pierwsze bety iOS 13.1 oraz iPadOS 13.1. Dodatkowo udostępniono watchOS 6 beta 9 oraz tvOS 13 beta 8.

Nowe bety ponownie wprowadzają funkcje, które były zablokowane w ostatnim czasie w szczególności dotyczące audio czy Skrótów.

Przeskoczenie systemu o numer nie oznacza, że Apple porzuca rozwój pierwszej wersji systemu. Oznacza najprawdopodobniej, że niedługo po premierze będzie pierwsza aktualizacja, a Apple daje dodatkowy czas deweloperom aby się lepiej na nią przygotowali.

Pełny “change log” bety iOS 13.1 jest tym razem bardzo rozbudowany i niestety po angielsku, ale załączamy go do wglądu:


General

Known Issues

  • Snapshots for apps that use Metal might have an unexpected appearance in the App Switcher. (53121694)

Deprecations

  • The UIApplicationExitsOnSuspend key is no longer supported in iOS & iPadOS 13. Update your apps to handle modern multitasking. (43958234)

Audio

New Features

  • Voice Processing mode can now be enabled on AVAudioEngine. (50906329)
  • New AVAudioNode types can be used to wrap a user-defined block for sending or receiving data in real time.
  • A new method is available for an AVAudioEngine-based app to retrieve a list of all nodes attached to an AVAudioEngine instance.
  • A new rendering mode in AVAudioEnvironmentNode selects the best spatial audio rendering algorithm automatically based on the output device.
  • A new AVAudioSession property allows system sounds and haptics to play while the session actively uses audio input.
  • A new enumeration, AVAudioSession.PromptStyle, informs apps which style of voice prompt they should play based on other audio activity in the system.
  • AVAudioSession.RouteSharingPolicy now permits apps to specify route-sharing policies so their audio and video routes to the same location as AirPlay.
  • Audio Unit Extensions now support user presets that are available across all host applications.

Deprecations

  • The OpenAL framework is deprecated and remains present for compatibility purposes. Transition to AVAudioEngine for spatial audio functionality.
  • AUGraph is deprecated in favor of AVAudioEngine.
  • Inter-App audio is deprecated. Use Audio Units for this functionality moving forward.
  • Carbon component-based Audio Units are deprecated and support will be removed in a future release.
  • Legacy Core Audio HAL audio hardware plug-ins are no longer supported. Use audio server plug-ins for audio drivers moving forward.

Audio Sharing

New Features

  • Audio sharing is compatible with AirPods (1st generation or later) and PowerBeats Pro. iPhone 8 or later, iPad Pro 12.9-inch (2nd generation or later), iPad Pro 11-inch, iPad Pro 10.5-inch, iPad (5th generation or later), iPad Air (3rd generation), iPad mini (5th generation), or iPod touch (7th generation or later) is required. (51331268)

AVFoundation

New Features

  • AVFoundation now supports encoding video with alpha channels using HEVC. Videos encoded in this manner are broadly supported in AVFoundation APIs, and by Safari within web pages. Technical details of the format can be found in the Interoperability Profile specification. (8045917)

Core Haptics

Known Issues

Core Image

New Features

  • The init(imageURL:options:) and init(imageData:options:) initializers no longer support RAW version 5 and earlier. Version 6 and later remain supported. (50911303)
  • Added new APIs for instantiating and modifying the built-in Core Image filters.
  • The CICoreMLModel filter is enhanced to support models with an input or output of type MLFeatureType.multiArray.
  • Metal CIKernel instances support arguments with arbitrarily structured data.
  • Metal CIKernel instances support returning a group of 2 × 2 pixels.
  • The integer values of CIFormat symbols, such as ARGB8, have changed to a new set of values that are consistent across platforms. The former values remain supported for backward compatibility; however, you should avoid dependancies on specific numerical values.

Find My

Known Issues

  • When performing an action in Find My that generates an email, you might see references to the Find My Friends and Find My iPhone apps. (51123613)
  • While iOS & iPadOS 13 remains in beta, offline-finding capability is limited.

Health

Resolved Issues

  • Health and Activity features continue working if you set your Period Length to be longer than your Cycle Length in Cycle Tracking options. (54313089)

iCloud

Known Issues

  • After updating to iOS 13 beta 6 or later, iCloud Drive might synchronize for an extended period of time. If you notice any missing files, they can be found in a Recovered Files folder under On My iPhone/iPad within the Files app. (53772753)
  • When creating a new Pages, Numbers, or Keynote document in a shared folder, you might see the message: “Couldn’t connect to iCloud.” (50827963)

    Workaround: Close and reopen the document.

Mail

New Features

  • Ignore Blocked Senders can now be enabled in Settings > Mail. The blocked contacts list is shared with Messages, FaceTime, and Phone. (50775961)

Networking

New Features

Resolved Issues

Deprecations

  • Removed support for FTP and File URL schemes for Proxy Automatic Configuration (PAC). HTTP and HTTPS are the only supported URL schemes for PAC. This affects all PAC configurations including, but not limited to, configurations set using Settings, System Preferences, Profiles, and URLSession APIs such as connectionProxyDictionaryand CFNetworkExecuteProxyAutoConfigurationURL(_:_:_:_:). (28578280)
  • The URLSession and NSURLConnection APIs no longer support SPDY. Servers should use HTTP 2 or HTTP 1.1. (43391641)

Notes

Resolved Issues

  • Using search in Notes no longer produces unexpected results. (48238242)
  • If you select colored drawing strokes with the lasso tool and then rotate your device to landscape mode, the strokes no longer revert to black. (54246012)

PencilKit

Resolved Issues

  • If your app links PencilKit, and its deployment target is iOS 13.1 or later, you can now submit it to the App Store. (53811027)

RealityKit

Known Issues

  • The camera feed will remain visible at the base of objects loaded from a Reality File when ARView.Environment.Background is set to ARView.Environment.Background.skybox(_:) (53715030)

    Workaround: Turn off grounding shadows when setting the background to ARView.Environment.Background.skybox(_:) by setting ARView.RenderOptions to disableGroundingShadows.

Resolved Issues

  • Reality Files with object anchors now anchor to those objects in AR Quick Look and in applications. (53689364)

Screen Time

Known Issues

  • If you enable Share Across Devices, Screen Time settings don’t sync with iCloud until your iOS device is restarted. Any edits you make to your Screen Time settings on that device before restarting are lost. (50194586)

Siri

Known Issues

  • The supportsOnDeviceRecognition property always returns false the first time it’s accessed. After a few seconds, accessing it again returns the correct value. (47822242)
  • Shortcuts opened on iOS & iPadOS 13 beta are automatically upgraded and can no longer be opened on iOS 12. If a device with iOS 12 and a device with iOS 13 share an iCloud account, shortcuts might become unusable on the device running iOS 12. (50873839)

    Workaround: Disable iCloud Sync between devices running iOS & iPadOS 13 beta and devices running iOS 12.

  • Currently, the only supported response for INSearchForMediaIntent is INSearchForMediaIntentResponseCode.continueInApp. (51010311)

Resolved Issues

  • Shortcuts automations are now available. (53182885)

SwiftUI

New Features

Resolved Issues

  • Image instances now use resizing information configured in asset catalogs. (49114577)

Deprecations

  • SwiftUI APIs deprecated in previous versions of iOS 13 beta have been removed. (53310683)
  • NavigationDestinationLink and DynamicNavigationDestinationLink are deprecated; their functionality is now included in NavigationLink. (50630794)
  • The Length type is replaced by CGFloat. (50654095)
  • TabbedView is now named TabView. (51012120)
  • HAlignment and VAlignment are now deprecated, use the more flexible HorizontalAlignment or VerticalAlignment types instead and use TextAlignment for text. (51190531)
  • The SelectionManager protocol is removed, use Optional and Set instances directly for selection. (51557694)
  • The isPresented environment value is deprecated and replaced with the more general presentationMode value. (51641238)
  • The StaticMember protocol is deprecated. Use protocol-conforming types directly instead. For example, use an instance of WheelPickerStyle directly rather than the wheel static member.(52911961)
  • Complex overloads for the background(_:alignment:) and border(_:width:)modifiers are deprecated. Use shapes in a background(_:alignment:) or overlay(_:alignment:) to draw these instead. (53067530)
  • SwiftUI APIs deprecated in previous betas are now removed. (52587863)
  • The identified(by:) method on the Collection protocol is deprecated in favor of dedicated init(_:id:selection:rowContent:) and init(_:id:content:)initializers. (52976883, 52029393)

    The retroactive conformance of Int to the Identifiable protocol is removed. Change any code that relies on this conformance to pass \.self to the id parameter of the relevant initializer. Constant ranges of Int continue to be accepted:

    However, you shouldn’t pass a range that changes at runtime. If you use a variable that changes at runtime to define the range, the list displays views according to the initial range and ignores any subsequent updates to the range.

  • Several extensions to the Binding structure are removed. (51624798)

    If you have code such as the following:

    Define the following subscript on the Set structure:

    Then, change self.$favorites.contains(landmarkID) to self.$favorites[landmarkID].

  • The Binding structure’s conditional conformance to the Collection protocol is removed. (51624798)

    If you have code such as the following:

    Define the following collection type:

    Then, update your code to:

  • The relativeWidth(_:), relativeHeight(_:), and relativeSize(width:height:) modifiers are deprecated. Use other modifiers like frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) instead. (51494692)

Third-Party Apps

Known Issues

  • You might be unable to stream to a Chromecast device. (51334673)

UIKit

New Features

  • The UITableViewCell class no longer changes the backgroundColor or isOpaqueproperties of the contentView and any of its subviews when cells become highlighted or selected. If you are setting an opaque backgroundColor on any subviews of the cell inside (and including) the contentView, the appearance when the cell becomes highlighted or selected might be affected. The simplest way to resolve any issues with your subviews is to ensure their backgroundColor is set to nil or clear, and their opaqueproperty is false. However, if needed you can override the setHighlighted(_:animated:) and setSelected(_:animated:) methods to manually change these properties on your subviews when moving to or from the highlighted and selected states. (13955336)
  • Since iOS 8, using UISearchController with UINavigationController has required setting the definesPresentationContext property of the top view controller to true. Failure to do so leads to subtle bugs that can be hard to detect and debug. Starting in iOS & iPadOS 13 beta, if a view controller’s navigationItem has a non-nilsearchController, when the view controller is shown in a navigation controller, UINavigationController automatically sets that view controller’s definesPresentationContext property to true. If you are targeting earlier versions of iOS, set this property before your search controller becomes active. (31338934)
  • The UIRefreshControl class no longer directly modifies the contentInset of its scroll view. Instead, its adjustments to the content inset will be incorporated into the scroll view’s adjustedContentInset. The only exception is when the scroll view’s contentInsetAdjustmentBehavior is set to UIScrollView.ContentInsetAdjustmentBehavior.never, in which case the UIRefreshControl instance will modify the contentInset directly as it did in previous releases. (35866834)
  • If you implement self-sizing cells in a UITableView by overriding sizeThatFits(_:)without using Auto Layout, the height you return is interpreted as the desired height for the contentView of the cell, and UITableViewCell automatically adds any additional height needed to allow room for the cell separator. If you implement manual self-sizing this way, the cell’s contentView width is guaranteed to be accurate for you to use in manual layout calculations when sizeThatFits(_:) is called on the UITableViewCell. (39742612)
  • Trait environments, such as views and view controllers, now have their traitCollectionproperty populated with traits during initialization. These initial traits represent a prediction of the ultimate traits that the trait environment will receive when it gets added to the hierarchy. Because the traits that are populated during initialization are just a prediction, they might differ from the traits that are received once actually in the hierarchy. Therefore, when possible you should wait to perform work that uses the traitCollection until the view, or view controller’s view, has moved into the hierarchy — meaning window returns a non-nil value — so that you don’t have to throw away any work done using the predicted traits if the actual traits are different. The best time to use the traitCollection is during layout, such as inside layoutSubviews(), viewWillLayoutSubviews(), or viewDidLayoutSubviews().
  • The traitCollectionDidChange(_:) method is only called when the value of a trait changes. Importantly, because the trait collection is now initialized to a prediction of the ultimate traits in the destination hierarchy, when the initial predicted traits match the ultimate traits in the hierarchy, traitCollectionDidChange(_:) will not be called when the trait environment is added to the hierarchy. Because traitCollectionDidChange(_:) is intended to be an invalidation callback to notify you that one or more traits changed, audit your existing implementations of this method, as well as the UIContentContainer method willTransition(to:with:), for places where you might have been relying on it to trigger initial setup. The best place to lazily perform work that uses the traitCollection is inside one of the layoutSubviews methods discussed above, but remember that these layout methods are called any time layout occurs so be sure to avoid repeating work when you don’t need to. (46818941)
  • You can now enable debug logging to easily see when traitCollectionDidChange(_:) or willTransition(to:with:) is called on your own classes. Turn on the logging by using the following launch argument: -UITraitCollectionChangeLoggingEnabled YES. You might want to temporarily disable the Main Thread Checker while using this launch argument and running your app from Xcode to avoid extra log messages for unrelated classes. (47858564)
  • The UITableViewCell class’s contentView property is always laid out edge-to-edge with adjacent accessories, both on the leading and the trailing side. This streamlines the layout code so developers who want the correct default offset no longer have to align their content with the content view border or the layout margin depending on whether there is an accessory on the trailing side or not. You should now always lay out their code on the layout margins of the cell’s content view to get the default system insets. These insets will be adjusted automatically based on the accessories visible in the cell to match the system’s default spacing. (48214114)
  • You can now invoke a custom initializer from a creation block that’s passed through instantiateInitialViewController(creator:) or instantiateViewController(identifier:creator:). This makes it possible for you to initialize view controllers with additional context and arguments, while taking advantage of defining them in a storyboard through Interface Builder. A custom controller initializer must call its super.init(coder:) method and pass the coder argument that it receives through the creation block. (48313869)

Known Issues

  • Specifying UIWindowScene.DestructionRequestOptions in Swift is currently unavailable. (51036709)

Voice Analytics

Known Issues

  • Voice Analytics is currently available only when using server based speech recognition. (53604093)

Watch

Known Issues

  • Complications might disappear from Apple Watch after updating to iOS 13 beta if your watch isn’t running watchOS 6 beta. (50507942)

Xcode

New Features

Resolved Issues

  • Donated shortcuts now appear in Search while using the simulator. (50832782)
  • Changing the volume level in Simulator while a video is playing in Safari no longer mutes the audio. (51207286)

Dominik Łada

MacUser od 2001 roku, rowery, fotografia i dobra kuchnia. Redaktor naczelny iMagazine - @dominiklada

Zapraszamy do dalszej dyskusji na Mastodonie lub Twitterze .