An MCSession object enables and manages communication among all peers in a Multipeer Connectivity session
Questions tagged [mcsession]
39 questions
0
votes
1 answer
Send String and NSData at the same time over peer to peer?
I am adding text fields which are of type (String) and an image which is of type (NSData) to a dictionary sending it to a peer, and on the other side it is decoding the dictionary in to a Strings with key value pairs.
The image data in the…

dscrown
- 578
- 1
- 5
- 21
0
votes
0 answers
Disconnecting issue in multipleer connectivity
We are able to make connection from host device to multiple slave devices.
but firstly devices will connected while sharing data they will automatically disconnected .
we already used all delegate methods.
- (void) session:(MCSession*)session…

Neha
- 63
- 12
0
votes
1 answer
Swift : session sendData , type () does not confirm to protocol BooleanType
I am trying to create a Bluetooth chat system based on this tutorial : http://www.appcoda.com/chat-app-swift-tutorial/
The error that I receive is the following : type () does not conform to protocol BooleanType.
Does anyone know how to solve…

Mathias Verhoeven
- 927
- 2
- 10
- 24
0
votes
1 answer
What is the range in terms of distance of MCSession?
I am developing mobile application which use MCSession to get list of near by users. So i am wondering what is range of MCSession?

Dipen Patel
- 911
- 2
- 9
- 22
0
votes
1 answer
Maximum number of MCSessions supported by iOS 8
I've read that the limit of MCSession is 8 devices. I intend to have a host device that creates many 1 to 1 connections with other devices. In this case, would the limit still be 7 connected devices, or can it have a larger number of MCSession…

Leah Sapan
- 3,621
- 7
- 33
- 57
0
votes
2 answers
Disconnecting a session without exiting the app
Iam using Multipeer connectivity Feature.
Consider A,B,C are connected in a session created by A.Suppose B want to get out of the session without disconnecting the session ( [session Disconnect] ) or exiting the app .Is that possible?. Does turning…

DHEERAJ
- 1,478
- 12
- 32
0
votes
1 answer
Multipeer Session Disconnects While sending large files/images
Iam using multipeer connectivity feature in my app. I have a weird problem ie, Iam able to send and receive messages(chatting). But in case of file sharing, I use
sendResourceAtURL:resourceURL withName:fileName toPeer:peer1
But While sending large…

DHEERAJ
- 1,478
- 12
- 32
0
votes
1 answer
MCBrowserViewController has limit to 7 invitees
I am trying to hook communication of 10 iPad's with one iPad.
MCBrowserViewController launches a view controller which will allow to select the Invitees.
It say's "Choose 1 to 7 invitees". As soon as I select One iPad in the network, it says "Choose…

NNikN
- 3,720
- 6
- 44
- 86
0
votes
1 answer
Subclassing Delegate Issue
I create an MCSession in a parent class with this:
- (void) setUpMultipeer{
// Setup peer ID
self.myPeerID = [[MCPeerID alloc] initWithDisplayName:[UIDevice currentDevice].name];
// Setup session
self.mySession = [[MCSession…

Eric
- 4,063
- 2
- 27
- 49