Notes WWDC 2019 : Targeting Content with Multiple Windows
Référence : Session 259 - Targeting Content with Multiple Windows
If your app receives a notification, which scene should it activate in response?
UISceneActivationConditions
: predicates to describe what a scene can do.
class UISceneActivationConditions : NSObject {
var canActivateForTargetContentIdentifierPredicate : NSPredicate
var prefersToActivateForTargetContentIdentifierPredicate : NSPredicate
}
Target content identifiers
Can be specified on different objects interacting with your apps:
UNNotificationContent
(APNStarget-content-id
key)UIApplicationShortcutItem
NSUserActivity