Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interact iPhone with tvOS

I need to use an iPhone/iPad as keyboard for chat app. Does anybody know how to interact iPhone with tvOS? I've not found some library or framework for this functionality.

Thanks for help.

like image 565
landonandrey Avatar asked Oct 31 '22 17:10

landonandrey


1 Answers

It depends on what you want to achieve. If you're looking for directly updates you can look into Bonjour: https://developer.apple.com/bonjour/

You can also use Bonjour to use your phone as a Game controller (https://forums.developer.apple.com/thread/17417)

I normally use MultipeerConnectivity for communication between devices, but this isn't available on tvOS.

For simple key value sharing, you can simply use the Keychain or NSUserDefaults, which is available on tvOS and shared between platforms.

like image 142
Antoine Avatar answered Nov 12 '22 15:11

Antoine