Interactive iPhone with tvOS

I need to use iPhone / iPad as a keyboard for a chat application. Does anyone know how to interact with iPhone with tvOS? I did not find a library or framework for this function.

Thanks for the help.

+5
source share
1 answer

It depends on what you want to achieve. If you are looking for direct updates, you can check out 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 usually use MultipeerConnectivity to communicate between devices, but this is not possible in tvOS .

For a simple exchange of valuable keys, you can simply use Keychain or NSUserDefaults, which is available on tvOS and used between platforms.

+2
source

Source: https://habr.com/ru/post/1233043/


All Articles