قالب وردپرس درنا توس
Home / Tips and Tricks / Apple has just released iOS 13 Developer Beta 5 for iPhone «iOS & iPhone :: Gadget Hacks

Apple has just released iOS 13 Developer Beta 5 for iPhone «iOS & iPhone :: Gadget Hacks



The beta testing for Apple's big iPhone update iOS 13 is in full swing. So far, each of the four beta versions we've seen brought new features and changes to the spreadsheet, many of which were not even mentioned by Apple during the WWDC in June. Now it's time to repeat everything again, as Apple has just released the fifth developer beta for iOS 13.

However, if you're a public beta tester, you can slow down your enthusiasm. Apple will most likely not release the public version of the beta update for iOS 13 at this time. Instead, we expect Apple to launch public Beta 4 at the earliest three hours after the developer releases, the company's usual public beta release timeframe. However, as far as the public beta cycle is concerned, Apple is somewhat unpredictable, so public beta may drop anytime within hours or days after the release of iOS 1

3 dev beta 5.

While dev beta 5 is here, it's way too early to say what Apple is up to with the software. You can imagine that Cupertino added new features and changes to the update, as did the Dev betas 1-4. However, the volume of these changes has lately decreased, with Dev Beta 4 having the least impact. Dev Beta 5 may be a stability update for iOS 13 beta testers that adds bug fixes to enhance the overall iPhone experience.

For those of us who love a correct changelog, Apple will soon release the release notes for Dev Beta 5 as well. These notes describe existing or resolved bugs, as well as new features, especially for developers. Although these notes have not yet been released, you can read the dev beta 4 Release Notes before the update:

Release Notes for iOS and iPadOS 13 Beta 4:

Overview

The SDK for iOS and iPadOS 13 includes support for developing apps for iPhone, iPad, and iPod touch devices with iOS and iPadOS 13. The SDK comes with Xcode 11 Beta and is available under Beta Software Downloads. For Xcode 11 compatibility requirements, see the Xcode 11 Beta 4 Release Notes.

Important

Update your iPhone to the latest available version of iOS 13 Beta before you upgrade paired watches on watchOS perform 6 beta or a newer version of watchOS 6 beta. (51366653)

General – Known Issues

  • Snapshots for apps that use Metal may appear unexpectedly in the App Switcher. (53121694)

General – Issues resolved

  • The EU Volume Limit Warning displays correctly when the maximum volume limit is exceeded. (51068683)
  • If you have a large photo library, after updating to iOS and iPadOS 13, you will not have to wait for the Apple logo to appear with a progress bar on your device. (51147659)
  • Tapping on links no longer causes apps to stop responding after updating to iOS & iPadOS 13 beta for a period of time. (51222428)
  • Background images are consistently displayed correctly. (45300725)
  • The Wi-Fi icon is consistently displayed in the status bar when Wi-Fi is turned on. (51512334)

General – Obsolete

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

Activity – Resolved Issues

  • The activity behaves as expected when you tap in Trends on VO2 max. (51539836)

App Store – Resolved Issues

  • SKStoreProductViewController no longer returns a blank page. (50955943)

Apple CryptoKit – Resolved Issues

  • Users are prompted to authenticate when using the SecureEnclave API with key-set access control. (51279188)

Audio – New Features

  • Voice processing mode can now be enabled in AVAudioEngine. (50906329)
  • The new AVAudioNode types can be used to wrap a custom block to send or receive data in real time.
  • For an AVAudioEngine-based app, there's a new way to get a list of all attached nodes available to an AVAudioEngine instance.
  • A new render mode in AVAudioEnvironmentNode automatically selects the best spatial audio rendering algorithm based on the output device.
  • A new AVAudioSession property lets you play system sounds and haptics while the session is actively using audio input.
  • A new listing, AVAudioSession.PromptStyle, informs apps about what type of voice prompt they should play based on other audio activity in the system.
  • With AVAudioSession.RouteSharingPolicy, apps can now set route sharing policies for audio and video to routes to the same location as AirPlay.
  • Audio Unit extensions now support user preferences that are available to all host applications.

Audio Obsolete

  • The OpenAL framework is outdated and still exists for compatibility. Transition to AVAudioEngine for spatial audio features.
  • AUGraph is no longer used in favor of AVAudioEngine.
  • Inter-app audio is no longer supported. Use Audio Units for this feature in the future.
  • Carbon Component-based Audio Units are outdated and will not be supported in future releases.
  • Legacy Core Audio HAL audio hardware plug-ins are no longer supported. Use audio server plug-ins for audio drivers in the future.

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 way are widely supported in AVFoundation APIs and Safari on Web pages. Technical details about the format can be found in the specification of the interoperability profile. (8045917)

Books – Resolved Issues

  • Locally downloaded cloud items are no longer moved to iCloud after upgrading to iOS & iPadOS 13 beta. (51306790)
  • Reading certain books no longer unexpectedly displays a predictive text bar. (51584308)
  • Books no longer exit unexpectedly when browsing a PDF file. (51108267)
  • Books stored in iCloud Drive appear in your library immediately. (51435740, 50776390)

CarPlay – resolved issues

  • The icons on the home screen are displayed correctly in bright mode. (51863892)
  • The garage door button appears consistently in the CarPlay dashboard. (50275274)
  • The map style for navigation apps changes dynamically between dark and light modes. (50986173)

Core Haptics Known Issues

  • By default, haptics are disabled when microphone capture begins. You can override this by setting the AVAudioSession property allowHapticsAndSystemSoundsDuringRecording to true before enabling the audio session. (25811898)
  • Events such as audioContinuous, hapticContinuous, and audioCustom can not continue during the event. There is no output for this event, only for subsequent events. This applies to playback at a specific time offset as well as for searching and resuming. (29274583)
  • CHHapticDynamicParameter instances with non-zero relative times sent as part of a sendParameters (_: atTime 🙂 call for a CHHapticAdvancedPatternPlayer with the atTime parameter set to 0.0 are expected to be applied incorrectly at the beginning of the CHHapticPattern relative time not equal to zero. This does not occur with a CHHapticPatternPlayer. (46316890)
  • Both vibrations generated by AudioServicesPlaySystemSound (_ 🙂 and vibration patterns generated by the user-created automatic vibration user interface are muted compared to previous versions of iOS. (47448156)
  • Parameter curves are not supported with a CHHapticAdvancedPatternPlayer, only with a CHHapticPatternPlayer. No error is generated when passing a CHHapticPattern with a parameter curve to a CHHapticAdvancedPatternPlayer. (47891515)
  • When starting an app for the playback category, such as B. Music, in the background occurs a short audio distortion. For example, a brief distortion occurs when you launch the app from the Control Center while Core Haptics audio playback is already running using a "playAndRecord" audio session. (48121467)
  • After decompression into uncompressed floating-point samples, the total limit for all AudioCustom resources per process is eight megabytes. (48659023)
  • Multiple overlapping parameter curves for the same CHHapticDynamicParameter.ID may result in rendering artifacts. (50026384)
  • The maximum duration for a haptic-continuous haptic event is 30 seconds. Events that exceed this limit can be created and accepted by the CHHapticPatternPlayer. However, haptic playback disappears after 30 seconds. (51322525)

Core Haptics Resolved Issues

  • When Core Haptics-generated audio plays with an audio session category or an audio session mode that normally supports output through Bluetooth or wired headphones, the audio plays as expected. (29939183, 50905288)
  • Creating a hapticContinuous event with an attack time of 1.0 and dynamically increasing the attack time by 1.0 no longer results in improper behavior. (50386282)
  • The default value for audioBrightnessControl is now 0, not 1. (50310604)

Core Image – New Features

  • The initializations init (imageURL: options 🙂 and init (imageData: options 🙂 support for RAW version 5 and earlier. Version 6 and higher are still supported. (50911303)
  • New APIs have been added to instantiate and modify the built-in core image filters.
  • The CICoreMLModel filter has been enhanced to support models with an input or output of type MLFeatureType.multiArray.
  • Support for Metal CIKernel instances Arguments with arbitrarily structured data.
  • Metal CIKernel instances support the return of a group of 2 × 2 pixels.
  • The integer values ​​of CIFormat symbols, such as The previous values ​​are still supported for backward compatibility. However, you should avoid dependencies on certain numeric values.

Core Media Issues Fixed

  • Media services no longer stop with the message "AVFoundation error AVErrorMediaServicesWereReset -11819" when you play a low-latency HLS stream when the network connection is negotiated, no TCP ECN negotiates. (51690639)

Main Issues Fixed in ML

  • In the MLRecommender model, the exclusion and constraint parameters are optional as expected. (50348777)

Device Management Known Issues

  • Users can not accept an invitation to app and book assignments. (50832260)

Device Management – Resolved Issues

  • MDM queries no longer return unmanaged data, such as: For example, profiles and certificates that were installed with Apple Configurator. (50857952)
  • Reminders for the managed Apple ID can be enabled after user registration is complete. (48820760)
  • After user registration is complete, you will no longer be prompted to re-enter your Apple ID credentials when you view the account details in Settings> Passwords and Accounts. (48605466)
  • You can now access the Enterprise iCloud drive from managed apps when the Managed Open restriction is turned on for a user enrollment. (51016087)
  • A user registry allows you to install enterprise applications after they are removed and then re-enrolled in MDM. (50959631)

FaceTime – Resolved Issues

  • You do not have to toggle the Attention Correction setting at least once to disable it. (52054477)

Files – Resolved Issues

  • The use of files in Schoolwork is now supported. (51588407, 51277263)

Finding Known Issues

  • When you perform an action in "Find My Friends" that generates an email, you may find references to the Find My Friends and My iPhone apps apps displayed. (51123613)
  • The function "Notify me if found" is currently not available.
  • Apple Pay cards may remain locked after a device has quit Lost mode.
  • While iOS and iPadOS 13 remain in beta, the offline search feature is limited.

HomeKit Known Issues

  • After you view IP camera streams in the Home app, your device will not hibernate until you exit the app. (52981554)

Home screen – Known Issues

  • Dragging app icons from Spotlight has no effect at this time. Instead, drag app icons from the dock. (49004339)

Home screen – resolved issues

  • Items in quick action menus have icons of the correct size. (50561570)
  • The first time you view widgets after the device reboots, the Show More buttons appear correctly. (50966601)

iCloud Known Issues

  • The iCloud Drive section under Settings> General> iPhone Storage may not display the current status of the files on your device correctly. (50362095)
  • When creating a new page, number, or keynote document in a shared folder, the following message may be displayed: "Unable to connect to iCloud." (50827963) | Workaround: Close the document and reopen it.
  • If you manually start iCloud Backup from Settings> iCloud Account> iCloud> iCloud Backup> Back Up Now, the progress bar does not fully display. However, this does not mean that the backup is not complete. As soon as the text below the progress bar changes from Save to Refresh iCloud, it indicates that the backup is complete. ICloud Sync is not completing due to a note syncing issue with iCloud. Your notes may not be up-to-date in iCloud compared to the notes on your device. (51030266)

iCloud – Resolved Issues

  • All of your iCloud Drive data is consistently present after upgrading to iOS 13 Beta. (51787170, 51950018)
  • Documents downloaded correctly in iCloud Drive. (52295165)
  • The contents of folders in a shared iCloud folder are available to other users viewing your shared folder. (51591135)
  • Pages, numbers, and Keynote documents in shared folders correctly display an error message when you try to access them through iCloud.com. (50738067)

Keyboards – Resolved Issues

  • You can disable QuickPath input. (50989321)

Localization Known Issues

  • Devices set to use specific languages ​​may have a truncated or misaligned layout. (51068688)
  • Devices that are set to use specific languages ​​may display unlocated text. (47765173, 51197936, 51270878)

Site Fix Issues

  • Apps that get the user's location are no longer mistakenly assigned to a large number of sites, although only a few sites have actually been received. (52240105)
  • Requesting always-authorization and receiving Provisional Always authorization are no longer falsely delivered to CLLocationManagerDelegate as CLAuthorizationStatus.authorizedWhenInUse. (51475789)

Mail – New Features

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

Mail Known Issues

  • You may not be able to share an image directly from an e-mail. Instead, forward the email with attachments. (50538771)

Maps – Resolved Issues

  • Route lines display correctly when sharing a travel ETA. (50904902)
  • You can navigate from a place of origin other than your current location when a watch with watchOS 6 beta is paired with your iPhone with iOS 13 beta. (47399367)

News – Issues resolved

  • Animoji and Memoji reflect their face as expected from build 17A5522g. (52199654)

Fixed issues with music

  • Music does not quit unexpectedly when songs are rearranged in Up Next. (51639471)
  • Music is no longer paused even though audio is playing. (49926478)
  • You can share or tap album and artist links. (49675331)

Network – New Features

  • All URLSessionTask instances with a GET HTTP method that contain a body now generate the error NSURLErrorDataLengthExceedsMaximum. (46025234)

Network – Resolved Issues

  • For a background-configured URLSession, an HTTP Set-Cookie header sent by a server behaves as expected. (47044416)

Network – Obsolete

  • Support for FTP and file URL schemes for automatic proxy configuration (PAC) has been removed. HTTP and HTTPS are the only supported URL schemes for PAC. This applies to all PAC configurations, including, but not limited to, configurations set using settings, system settings, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL (_: _: _: _ :). (28578280)
  • The URLSession and NSURLConnection APIs no longer support SPDY. Servers should use HTTP 2 or HTTP 1.1. (43391641)

Notes – Known Issues

  • Using Search in Notes can lead to unexpected results. (48238242)

Phone and FaceTime Known Issues

  • When upgrading to iOS 13 Beta, you may not be able to enter your SIM PIN during the installation process. Instead, use Settings> Mobile Phone> SIM PIN to unlock your SIM card. (51593059)

Phone and FaceTime Fixed Issues

  • The status bar accurately reflects the current connection status when switching to mobile and off-site. (50821677)

Podcasts – Resolved Issues

  • Transcript search is now available. (50425804)
  • Podcast graphics do not overlap other UI elements. (50859386)

Safari and WebKit – Resolved Issues

  • Keyboard shortcuts behave as expected when non-English language settings are used. (50979111)

Display Time Known Issues

  • Users can select "Another Minute" more than once a day, rather than just once when they reach the limit for an app. (48773803)
  • If you enable cross-device sharing, the screen time settings will not be synchronized with iCloud until you restart your iOS device. Any changes you make to the screen time settings on this device before reboot will be lost. (50194586)

Settings – Known Issues

  • The Do Not Disturb settings may not be synchronized between your phone and the watch until both are upgraded to iOS 13 Beta 4 and watchOS 6 Beta 4. (52830669)
  • You may not be able to purchase mobile data tariffs on the iPad. (51735832, 51737229)

Sign in with Apple – Known Issues

  • The actual user state is currently unavailable. Signing in to Apple provides a status for new accounts, but the status can lead to unexpected results. (51765525)

Siri Known Issues

  • AirPods may unexpectedly disconnect when announcing messages with Siri is enabled, unless music is played when a new message is received. (50322025)
  • If you edit the intent definition file of an app and install the app, changes will not immediately appear in the shortcuts. (46645833) | Workaround: Stop and restart shortcuts after installing a new version of the app or creating and running the Intents extension in Xcode, which targets the Shortcuts app.
  • The supportOnDeviceRecognition property always returns false on the first access. If you access it again after a few seconds, the correct value is returned. (47822242)
  • Shortcuts opened on iOS and iPadOS 13 Beta are automatically updated and can no longer be opened on iOS 12. If an iOS 12 device and an iOS 13 device share an iCloud account, shortcuts can no longer be used on the device running iOS 12. (50873839) | Workaround: Disable iCloud syncing between iOS & iPadOS 13 Beta devices and iOS 12 devices.
  • If you tell Siri to take any action on reminders or messages, the application may quit unexpectedly. (50952938)
  • Currently the only supported answer for INSearchForMediaIntent is INSearchForMediaIntentResponseCode.continueInApp. (51010311)
  • When Siri Announce Messages is on, music playback may be interrupted when a message is read. (51243455)

Siri – Resolved Issues

  • Media apps with links enabled appear to no longer provide SiriKit media support. (51010590)
  • To support announcing messages with Siri in your messaging app, add INSearchForMessagesIntentIdentifier to your notification category. (50462393)

SwiftUI – New Features

  • The EnvironmentValues ​​tree has four new properties for reading accessibility values ​​from the environment: accessibilityDifferentiateWithoutColor, accessibilityReduceTransparency, accessibilityReduceMotion, and accessibilityInvertColors. (51712481)
  • The modifier color (_ 🙂 for text is renamed to foregroundColor (_ 🙂 to ensure consistency with the more general view modifier foregroundColor (_ :). (50391847)
  • The BindableObject protocol's request is now willChange instead of didChange and should now be sent before the object changes instead of being changed. This change allows improved merging of change messages. (51580731)
  • The RangeReplaceableCollection protocol has been extended by a remove method (atOffsets 🙂 and the MutableCollection protocol by a move method (fromOffsets: toOffset :). Each new method uses IndexSet instances that you use with the onMove (perform 🙂 and onDelete (perform 🙂 modifiers in ForEach views. (51991601)
  • Added improved display modifiers: sheet (isPresented: onDismiss: content :), action sheet (isPresented: content 🙂 and warning (isPresented: content 🙂 – along with isPresented in the environment – replace the existing presentation (_ :), Sheet, Modal, and PresentationLink types. (52075730)
  • The APIs for creating animations have been updated. The basic animations are now named after the curve type, eg. B. linear and easeInOut. The interpolation-based feather (mass: stiffness: damping: initial velocity 🙂 animation now interpolates Spring (mass: stiffness: damping: initial velocity 🙂 and FluidSpring (stiffness: damping fraction: mixture duration: time step: idle threshold 🙂 is now Spring (answer: dampingFraction: blendDuration 🙂 or interactiveSpring (reaction: dampingFraction: blendDuration :), depending on whether the animation is controlled interactively or not. (50280375)
  • An initializer for creating a font from a CTFont has been added. (51849885)
  • You can format a navigation view with two new style properties: stack and doubleColumn. By default, navigation views on the iPhone and Apple TV visually mirror a navigation stack, while a split-view navigation view is displayed on the iPad and Mac. (51636729); If you use the doubleColumn style, you can provide two views when creating a navigation view – the first is the master and the second is the detail. Example:

NavigationView {
MyMasterView ()
MyDetailView ()
}
.navigationViewStyle (.doubleColumn)

SwiftUI Known Issues

  • When? The push view of a navigation link in an item in a list displays button instances with black text and navigation links with black text and a chevron. (52858284)
  • Image instances do not use resizing information configured in asset catalogs. Instead, reconfigure the size of an image with the modifier resizable (capInsets: resizingMode :). (49114577)

SwiftUI – Resolved Issues

  • View modifier methods return non-complex generic types, but opaque views (some views). (46140669)
  • ScrollView instances always have the expected size for their content. (49204262)
  • The modifier tabItemLabel (_ 🙂 – now tabItem (_ 🙂 – now accepts @ ViewBuilder statements. (51502668)
  • Text in previews in Xcode is displayed correctly in dark mode. (51486412)

SwiftUI devaluations

  • The identification (by 🙂 method in the collection log is rejected in favor of dedicated init (_: id: selection: rowContent 🙂 and init (_: id: content :). Initializer. (52976883)
  • The modifiers relativeWidth (_ :), relativeHeight (_ :), and relativeSize (width: height 🙂 are deprecated. Instead, use other modifiers, such as frame (minWidth: idealWidth: maxWidth: minHeight: idealHeight: maxHeight: alignment :). (51494692)

Third-party apps – Known issues

  • You may not be able to stream data to a Chromecast device. (51334673)
  • WhatsApp may quit unexpectedly when messages are forwarded to a user who is not in the list of recently used contacts. (45416129)
  • WhatsApp users may receive duplicate notifications or contentless notifications. (50537131)
  • Instagram stories may not play audio. (50433755)
  • The Wells Fargo app may quit unexpectedly when you open or log in. (51085418)

Third-party apps – resolved issues

  • Didi displays map data correctly. (48386075)
  • Apps that could not back up or restore data on iCloud Drive can do so again. (50784901)
  • Gmail behaves as expected when you tap the "View entire message" link. (51451630)
  • Dragging and dropping a drag element supported by NSUserActivity creates a new scene.

UIKit – New Features

  • The UITableViewCell class no longer changes the backgroundColor or isOpaque properties of contentView and its subviews when cells are highlighted or selected. If you set an opaque background color for subviews of the cell inside (and including) the content view, this may affect the appearance when the cell is highlighted or selected. Die einfachste Möglichkeit, Probleme mit Ihren Unteransichten zu beheben, besteht darin, sicherzustellen, dass die backgroundColor-Eigenschaft auf null oder klar und die undurchsichtige Eigenschaft auf falsch gesetzt ist. Bei Bedarf können Sie jedoch die Methoden setHighlighted (_: animated 🙂 und setSelected (_: animated 🙂 überschreiben, um diese Eigenschaften in Ihren Unteransichten manuell zu ändern, wenn Sie zu oder von den hervorgehobenen und ausgewählten Status wechseln. (13955336)
  • Seit iOS 8 muss für die Verwendung von UISearchController mit UINavigationController die definePresentationContext-Eigenschaft des Controllers für die Draufsicht auf true festgelegt werden. Andernfalls können subtile Fehler auftreten, die sich nur schwer erkennen und beheben lassen. Ab iOS und iPadOS 13 Beta setzt UINavigationController die definePresentationContext-Eigenschaft des View Controllers automatisch auf true, wenn das navigationItem eines View Controllers einen searchController ohne Null enthält, wenn der View Controller in einem Navigationscontroller angezeigt wird. Wenn Sie auf frühere Versionen von iOS abzielen, legen Sie diese Eigenschaft fest, bevor Ihr Suchcontroller aktiv wird. (31338934)
  • Die UIRefreshControl-Klasse ändert den contentInset ihrer Bildlaufansicht nicht mehr direkt. Stattdessen werden die Anpassungen des Inhalts-Insets in das adjustierte Inhalts-Set der Bildlaufansicht übernommen. Die einzige Ausnahme besteht darin, dass das contentInsetAdjustmentBehavior der Bildlaufansicht auf UIScrollView.ContentInsetAdjustmentBehavior.never festgelegt ist. In diesem Fall ändert die UIRefreshControl-Instanz das contentInset direkt wie in früheren Versionen. (35866834)
  • Wenn Sie in einer UITableView Zellen mit automatischer Größenänderung implementieren, indem Sie sizeThatFits (_ 🙂 überschreiben, ohne das automatische Layout zu verwenden, wird die zurückgegebene Höhe als die gewünschte Höhe für die Inhaltsansicht der Zelle interpretiert, und UITableViewCell fügt automatisch alle hinzu zusätzliche Höhe erforderlich, um Platz für den Zellentrenner zu lassen. Wenn Sie die manuelle Größenanpassung auf diese Weise implementieren, ist die contentView-Breite der Zelle garantiert genau, damit Sie sie bei manuellen Layoutberechnungen verwenden können, wenn sizeThatFits (_ 🙂 für die UITableViewCell aufgerufen wird. (39742612)
  • In Merkmalumgebungen wie Ansichten und Ansichtscontrollern wird die Eigenschaft traitCollection jetzt während der Initialisierung mit Merkmalen gefüllt. Diese anfänglichen Merkmale stellen eine Vorhersage der endgültigen Merkmale dar, die die Merkmalumgebung erhält, wenn sie der Hierarchie hinzugefügt wird. Da es sich bei den Merkmalen, die während der Initialisierung ausgefüllt werden, nur um Vorhersagen handelt, können sie sich von den Merkmalen unterscheiden, die tatsächlich in der Hierarchie einmal empfangen werden. Warten Sie daher nach Möglichkeit mit der Ausführung von Arbeiten, die die traitCollection verwenden, bis die Ansicht oder die Ansicht des Ansichtscontrollers in die Hierarchie verschoben wurde. Das bedeutet, dass das Fenster einen Wert ungleich Null zurückgibt, sodass Sie keine Arbeit wegwerfen müssen erfolgt unter Verwendung der vorhergesagten Merkmale, wenn die tatsächlichen Merkmale unterschiedlich sind. Die Verwendung der traitCollection empfiehlt sich während des Layouts, z. B. innerhalb von layoutSubviews (), viewWillLayoutSubviews () oder viewDidLayoutSubviews ().
  • Die Methode traitCollectionDidChange (_ 🙂 wird nur aufgerufen, wenn sich der Wert eines Merkmals ändert. Wichtig ist, dass traitCollectionDidChange (_ 🙂 nicht aufgerufen wird, wenn die ursprünglichen vorhergesagten Merkmale den endgültigen Merkmalen in der Hierarchie entsprechen, da die Merkmalauflistung jetzt mit einer Vorhersage der endgültigen Merkmale in der Zielhierarchie initialisiert wird Die Hierarchie. Da es sich bei traitCollectionDidChange (_ 🙂 um einen Invalidierungsrückruf handelt, mit dem Sie benachrichtigt werden, dass sich eines oder mehrere Merkmale geändert haben, überprüfen Sie Ihre vorhandenen Implementierungen dieser Methode sowie die UIContentContainer-Methode willTransition (to: with :), um festzustellen, wo Sie möglicherweise sind Ich habe mich darauf verlassen, um die Ersteinrichtung auszulösen. Der beste Ort, um Arbeiten, die die traitCollection verwenden, faul auszuführen, ist eine der oben diskutierten layoutSubviews-Methoden. Denken Sie jedoch daran, dass diese Layoutmethoden jedes Mal aufgerufen werden, wenn Layout auftritt. Vermeiden Sie daher, die Arbeit zu wiederholen, wenn dies nicht erforderlich ist. (46818941)
  • Sie können jetzt die Debugprotokollierung aktivieren, um zu sehen, wann traitCollectionDidChange (_ 🙂 oder willTransition (to: with 🙂 für Ihre eigenen Klassen aufgerufen wird. Aktivieren Sie die Protokollierung mit dem folgenden Startargument: -UITraitCollectionChangeLoggingEnabled YES. Möglicherweise möchten Sie den Main Thread Checker vorübergehend deaktivieren, während Sie dieses Startargument verwenden und Ihre App über Xcode ausführen, um zusätzliche Protokollnachrichten für nicht verwandte Klassen zu vermeiden. (47858564)
  • Die contentView -Eigenschaft der UITableViewCell-Klasse wird immer randlos mit angrenzendem Zubehör sowohl an der vorderen als auch an der hinteren Seite angeordnet. Dadurch wird der Layoutcode optimiert, sodass Entwickler, die den richtigen Standardversatz wünschen, ihren Inhalt nicht mehr am Rand der Inhaltsansicht oder am Layoutrand ausrichten müssen, je nachdem, ob sich auf der nachfolgenden Seite ein Zubehör befindet oder nicht. Sie sollten ihren Code jetzt immer an den Layouträndern der Inhaltsansicht der Zelle auslegen, um die Standardsystemeinfügungen zu erhalten. Diese Einsätze werden basierend auf dem in der Zelle sichtbaren Zubehör automatisch an den Standardabstand des Systems angepasst. (48214114)
  • Sie können jetzt einen benutzerdefinierten Initialisierer aus einem Erstellungsblock aufrufen, der über instantiateInitialViewController (creator 🙂 oder instantiateViewController (identifier: creator 🙂 übergeben wird. 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)

UIKit – Known Issues

  • Prior to iOS 13, UITextField assumed that the frames of its leftView and rightView were correctly set when assigned and would never change. Starting in iOS 13, the implementation of leftViewRect(forBounds:) and rightViewRect(forBounds:) now ask the view for its systemLayoutSizeFitting(_:). To achieve the previous behavior when linking against and running on iOS 13, add explicit sizing constraints on the view, wrap it in a plain UIView, or subclass the view and implement systemLayoutSizeFitting(_:). (51787798)
  • Specifying UIWindowScene.DestructionRequestOptions in Swift is currently unavailable. (51036709)

Voice Control – Known Issues

  • After you enable Voice Control for the first time, resources begin downloading in the background. Once the download completes, you will receive a notification that Voice Control is ready for use. (50788121)

Voice Memos – Resolved Issues

  • Voice Memos synced from iCloud play correctly. (51492047)

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)

Watch – Resolved Issues

  • Settings appear properly in the Apple Watch app if you've recently reinstalled a built-in app. (51689111)

Xcode – New Features

  • CAMetalLayer is now available in Simulator. (45101325)

Xcode – Known Issues

  • Donated shortcuts might not appear in Search while using the simulator. (50832782) | Workaround: Test on a device with Settings > Developer > Display Recent Shortcuts enabled.
  • Changing the volume level in Simulator while a video is playing in Safari mutes the audio. (51207286)

Xcode – Resolved Issues

  • Calls to SKProductsRequest no longer fail in Simulator. (50875951)
  • Swift interfaces for several new URLSession APIs are now available. (50517967)
  • Dark Mode is available in Simulator (50699968)
  • When running your app from Xcode, you no longer see console errors about UIKit classes that override the traitCollection getter. (51651561)

To update your iPhone to iOS 13 dev beta 5, you will need to be a registered developer. You can use the restore image for your iPhone available in the Developer portal (install with iTunes or Finder) or install the configuration profile then update over the air. If you already have the profile installed on your iPhone, head over to Settings –> General –> Software Update to start installing the latest beta build, or you can wait until it installs automatically if "Automatic Updates" is enabled.

Don't Miss: 200+ Exciting New iOS 13 Features for iPhone


Source link