Open ORCatalin opened 7 years ago
To make these delegate methods to be called i had to add self.connection.delegate = self
where we set the connection and it seems that is working now.
-(void)device:(TCDevice *)device didReceiveIncomingConnection:(TCConnection *)connection {
self.connection = connection;
self.connection.delegate = self;
[self javascriptCallback:@"onincoming"];
}
After i accept the connection the connection's delegate methods are not called.