View in English

  • Global Nav Open Menu Global Nav Close Menu
  • Apple Developer
Search
Cancel
  • Apple Developer
  • News
  • Discover
  • Design
  • Develop
  • Distribute
  • Support
  • Account
Only search within “”

Quick Links

5 Quick Links
  • Multipeer Connectivity

    • Multipeer Connectivity
    • Multipeer Connectivity

    Support peer-to-peer connectivity and the discovery of nearby devices.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • Multipeer Connectivity Error Domain

    The error domain for errors specific to Multipeer Connectivity.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Discovering peers with Multipeer Connectivity

    Exchange discovery tokens over the local network.

    • DOCUMENTATION ARTICLE
    • Objective-C
    • Swift
  • Discovering peers with Multipeer Connectivity

    Exchange discovery tokens over the local network.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • MultipeerConnectivityService

    • RealityKit
    • MultipeerConnectivityService

    A service that provides scene synchronization among all peers in a multipeer connectivity session.

    • DOCUMENTATION
    • Swift
  • MCError.Code

    • Multipeer Connectivity
    • MCError
    • MCError.Code

    Error codes found in MCErrorDomain error domain NSError objects returned by methods in the Multipeer Connectivity framework.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • MCErrorDomain

    • Multipeer Connectivity
    • MCErrorDomain

    The NSError domain constant. If the domain value for an NSError object is equal to MCErrorDomain, then the error was produced by the Multipeer Connectivity framework itself, as opposed to a lower-level framework on which it depends.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • MCPeerID

    • Multipeer Connectivity
    • MCPeerID

    An MCPeerID object represents a peer in a multipeer session.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • session

    • RealityKit
    • MultipeerConnectivityService
    • session

    The multipeer connectivity session used by the service.

    • DOCUMENTATION
    • Swift
  • MCError.Code.unavailable

    • Multipeer Connectivity
    • MCError.Code
    • MCError.Code.unavailable

    Multipeer connectivity is currently unavailable.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • MCNearbyServiceBrowser

    • Multipeer Connectivity
    • MCNearbyServiceBrowser

    Searches (by service type) for services offered by nearby devices using infrastructure Wi-Fi, peer-to-peer Wi-Fi, and Bluetooth (in iOS) or Ethernet (in macOS and tvOS), and provides the ability to easily invite those devices to a Multipeer...

    • DOCUMENTATION
    • Swift
    • Objective-C
  • init(peer:)

    • Multipeer Connectivity
    • MCSession
    • init(peer:)

    Creates a Multipeer Connectivity session.

    • DOCUMENTATION
    • Swift
    • Objective-C
  • init(session:)

    • RealityKit
    • MultipeerConnectivityService
    • init(session:)

    Creates a new connectivity service.

    • DOCUMENTATION
    • Swift
  • TN3179: Understanding local network privacy

    Learn how local network privacy affects your software.

    • DOCUMENTATION ARTICLE
    • Swift
  • Initiating and maintaining a session

    Measure the relative position of a nearby device and coach the user to sustain interaction.

    • DOCUMENTATION ARTICLE
    • Objective-C
    • Swift
  • Initiating and maintaining a session

    Measure the relative position of a nearby device and coach the user to sustain interaction.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Loading remote assets in multiplayer apps

    Ensure assets load on all connected peers before using them.

    • DOCUMENTATION ARTICLE
    • Swift
  • TN3111: iOS Wi-Fi API overview

    Explore the various Wi-Fi APIs available on iOS and their expected use cases.

    • DOCUMENTATION ARTICLE
    • Swift
  • Requesting access to capabilities for your app playground

    Request access for your app to protected resources, services, or device hardware such as sensors.

    • DOCUMENTATION ARTICLE
    • Swift
  • TN3151: Choosing the right networking API

    Learn which networking API is best for you.

    • DOCUMENTATION ARTICLE
    • Swift
  • Profiles and Logs - Bug Reporting

    Get details on providing logs, reproducible test cases, and other information that will help us investigate and diagnose your reported issues.

  • Profiles and Logs - Bug Reporting

    Get details on providing logs, reproducible test cases, and other information that will help us investigate and diagnose your reported issues.

  • 18:26

    Build great games for spatial computing

    Find out how you can develop great gaming experiences for visionOS. We'll share some of the key building blocks that help you create games for this...

    • WWDC23 VIDEO
    • 00:11:40

      and Multipeer Connectivity are all available to you.

  • 51:27

    Introducing ARKit 3

    ARKit is the groundbreaking augmented reality (AR) platform for iOS that can transform how people connect with the world around them. Explore the...

    • WWDC19 VIDEO
    • 00:29:31

      Multipeer Connectivity session.

    • 00:29:33

      Multipeer Connectivity framework

    • 00:29:43

      Multipeer Connectivity session

    • 00:31:13

      multipeer connectivity in this

  • 37:13

    Introducing RealityKit and Reality Composer

    Architected for AR, RealityKit provides developers access to world-class capabilities for rendering, animation, physics, and spatial audio. See how...

    • WWDC19 VIDEO
    • 00:06:44

      Apple's multipeer networking

Developer Footer

  • Search
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • App Store
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Fonts
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Open Source
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Sample Code
    • Tutorials
    • Downloads
    • Forums
    • Videos
    Open Menu Close Menu
    • Support Articles
    • Contact Us
    • 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
    • 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
    Get the Apple Developer app.
    Copyright © 2025 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines