I have an iOS app that I need to extend to tvOS. All the information that I found are explaining how to start from scratch! Is there any way to extend my app to tvOS or I should start a new project with it?
Update1: My question is: How to extend my existing project to support tvOS without building it from scratch?
Update2: Jess Bower point on Apple's website:
Empower customers to enjoy their favorite apps on both iOS and the new Apple TV with a single purchase by enabling universal purchase for your app on the App Store.
Which means that we need to create a new bundle on our existing project and enable "universal" purchase so it will count as one app on App Store.
There is no cursor in iOS, and many gestures which are natural for touch (scrolling, zooming) are sure to be excruciating using a remote control. Clearly, the Apple TV will never officially run current App Store apps any more than the iPad can run Mac apps.
Navigate to an app, then press and hold the clickpad center (second-generation Siri Remote) or touch surface (first-generation Siri Remote) until the app starts to jiggle. Drag the app over a folder, then release the clickpad or touch surface. To save the new arrangement, press the clickpad center or touch surface.
on Apple TV, Navigate Buy or Get (for a free app), then press the clickpad center (second-generation Siri Remote) or the touch surface (first-generation Siri Remote) to begin downloading. If you see Install (with the iCloud icon), you've already purchased the app and you can download it again for free.
The tvOS SDK is based off of iOS, but is not interchangeable. Unlike when the first iPad was released, the new Apple TV will not be capable of running iOS apps.
The AppStore for the TV will only include apps built specifically for tvOS.
For any iOS developers looking to create apps for Apple TV, I'd recommend checking out the new documentation page: https://developer.apple.com/library/content/documentation/General/Conceptual/AppleTV_PG/index.html#//apple_ref/doc/uid/TP40015241-CH12-SW1
Specifically, check out the Inherited iOS Frameworks section to give you a sense of what will work out of the box from your existing iOS projects.
In Xcode 7.1 (which introduces tvOS SDK) you can add a tvOS target as any other (File -> New -> Target... -> tvOS -> ...) and it supports both Objective-C and Swift, so yes - it's possible to share code between your iOS and tvOS app, you just need to check your source target membership and enable it on your tvOS target. To extend the purchases across iOS and tvOS app we should use Universal Purchases.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With