5

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.

Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
landonandrey
  • 1,271
  • 1
  • 16
  • 26

1 Answers1

2

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.

Antoine
  • 23,526
  • 11
  • 88
  • 94
  • Update: MultipeerConnectivity is available in tvOS 10+: https://developer.apple.com/documentation/multipeerconnectivity – rpitting Dec 20 '18 at 13:14