View in English

  • Apple Developer
    • Get Started

    Explore Get Started

    • Overview
    • Learn
    • Apple Developer Program

    Stay Updated

    • Latest News
    • Hello Developer
    • Platforms

    Explore Platforms

    • Apple Platforms
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    Featured

    • Design
    • Distribution
    • Games
    • Accessories
    • Web
    • Home
    • CarPlay
    • Technologies

    Explore Technologies

    • Overview
    • Xcode
    • Swift
    • SwiftUI

    Featured

    • Accessibility
    • App Intents
    • Apple Intelligence
    • Games
    • Machine Learning & AI
    • Security
    • Xcode Cloud
    • Community

    Explore Community

    • Overview
    • Meet with Apple events
    • Community-driven events
    • Developer Forums
    • Open Source

    Featured

    • WWDC
    • Swift Student Challenge
    • Developer Stories
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Centers
    • Documentation

    Explore Documentation

    • Documentation Library
    • Technology Overviews
    • Sample Code
    • Human Interface Guidelines
    • Videos

    Release Notes

    • Featured Updates
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • Downloads

    Explore Downloads

    • All Downloads
    • Operating Systems
    • Applications
    • Design Resources

    Featured

    • Xcode
    • TestFlight
    • Fonts
    • SF Symbols
    • Icon Composer
    • Support

    Explore Support

    • Overview
    • Help Guides
    • Developer Forums
    • Feedback Assistant
    • Contact Us

    Featured

    • Account Help
    • App Review Guidelines
    • App Store Connect Help
    • Upcoming Requirements
    • Agreements and Guidelines
    • System Status
  • Quick Links

    • Events
    • News
    • Forums
    • Sample Code
    • Videos
 

Vidéos

Ouvrir le menu Fermer le menu
  • Collections
  • Toutes les vidéos
  • À propos

Plus de vidéos

  • À propos
  • Code
  • Adopt declarative device management

    Discover how you can simplify development of your device management solution with the declarative approach. We'll take you through the latest updates to platform support and explore protocol enhancements for status and predicates.

    Ressources

    • Device Management
      • Vidéo HD
      • Vidéo SD

    Vidéos connexes

    WWDC23

    • Explore advances in declarative device management

    WWDC22

    • What's new in managing Apple devices

    WWDC21

    • Meet declarative device management
  • Rechercher dans cette vidéo…
    • 7:41 - Passcode status items

      {
        "management": {
          "client-capabilities": {
           "supported-payloads": {
             "status-items": [
                ...
                "passcode.is-compliant",
                "passcode.is-present",
                ...
              ]
            }
          }
        }
      }
    • 10:52 - Account status items

      {
        ...
            "status-items": [
                ...
                "account.list.caldav",
                "account.list.carddav",
                "account.list.exchange",
                "account.list.google",
                "account.list.ldap",
                "account.list.mail.incoming",
                "account.list.mail.outgoing",
                "account.list.subscribed-calendar",
                ...
              ]
        ...
      }
    • 11:19 - Mail and subscribed calendar status item objects

      {
        "identifier": "592D763E-C15B-44F8-A1FC-F88EB1901646",
        "declaration-identifier": "BF8FD199-467B-4BA5-886D-D82B7849E517",
        "hostname": "mail.example.com",
        "port": 443,
        "username": "user01",
        "is-mail-enabled": true,
        "are-notes-enabled": false
      }
      
      {
        "identifier": "592D763E-C15B-44F8-A1FC-F88EB1901646",
        "declaration-identifier": "BF8FD199-467B-4BA5-886D-D82B7849E517",
        "calendar-url": "https://holidays.example.com/country/US.ics",
        "username": "user01",
        "is-enabled": true
      }
    • 17:13 - MDM app status item

      {
        "management": {
          "client-capabilities": {
           "supported-payloads": {
             "status-items": [
                ...
                "mdm.app",
                ...
              ]
            }
          }
        }
      }
    • 17:35 - Status report with MDM app status item

      {
        "StatusItems": {
          "mdm": {
            "app": [
              {
                "identifier": "com.apple.Pages",
                "name": "Pages",
                "version": "7358.0.134",
                "short-version": “12.0",
                "external-version-id": "844362702",
                "state": "managed"
              }
            ]
          }
        },
        "Errors": []
      }
    • 22:15 - Predicate subquery using the MDM app status item

      SUBQUERY(@status(mdm.app),
               $app,
               ($app.@key(identifier) == "com.example.app") AND ($app.@key(state) == "managed")
              ).@count == 1
    • 24:10 - Management properties declaration

      {
        "management": {
          "client-capabilities": {
           "supported-payloads": {
             "declarations": {
               ...
               "management": [
                ...
                "com.apple.management.properties",
                ...
               ]
               ...
              }
            }
          }
        }
      }
    • 24:40 - Management properties declaration object

      {
        "Type": "com.apple.management.properties",
        "Identifier": "AAE09D73-6EF6-4F3B-9E15-11B0F86D5591",
        "ServerToken": "AB4C5B91-3E08-4D4E-A9FF-1E44FE5BFDD4",
        "Payload": {
          "name": "Student One",
          "age": 7,
          "roles": ["grade1", "spanish"]
        }
      }
    • 24:53 - Activation with management properties predicate

      {
        "Type": "com.apple.activation.simple",
        "Identifier": "076F928B-9D8E-4BA2-AD34-5655805C82D7",
        "ServerToken": "4FFA91BF-85AE-4053-B8FE-B1C3E507A9CB",
        "Payload": {
          "StandardConfigurations": [
            "3BBB4407-238A-44B1-ABB1-5E7AB95160E0"
          ]
        },
        "Predicate": "(@property(age) >= 18) AND ("Grade12" IN @property(roles))"
      }

Developer Footer

  • Vidéos
  • WWDC22
  • Adopt declarative device management
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Downloads
    • Sample Code
    • Videos
    Open Menu Close Menu
    • Help Guides & Articles
    • Contact Us
    • Forums
    • Feedback & Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Read the latest news.
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines