Instance Property

displayName

The display name for this peer.

Declaration

iOS, Mac Catalyst, tvOS
@property(readonly, nonatomic) NSString *displayName;
macOS
@property(readonly, atomic) NSString *displayName;

Discussion

For the local peer, you set this property when the object is initialized. It cannot be changed.

For other peer objects provided to you by the framework, this property is provided by the peer and cannot be changed.

See Also

Peer Methods

- initWithDisplayName:

Initializes a peer.