Vincent Tourraine
Blog

Notes WWDC 2019 : Targeting Content with Multiple Windows

#dev #iOS

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: