MCPeerID代表在点对点通信过程中的设备。
Peer Methods
/// 初始化MCPeerID
///
/// - parameter myDisplayName : 昵称,UTF-8编码不能超过63bytes
///
/// - returns: void
public init(displayName myDisplayName: String)
/// 获取显示名
public var displayName: String { get }
Appendix
Sample Code
Related Documentation
Multipeer Connectivity Framework Reference
Revision History
时间 | 描述 |
---|---|
2016-01-21 | 博文完成 |