你能为Apple TV开发网页应用程序吗?



我是应用程序开发新手,我知道我们可以为iPhone和iPad开发应用程序。

然而,我不确定我是否可以为Apple TV开发一个web应用程序。你能为Apple TV开发网页应用程序吗?如果有,我可以去哪里了解这些?

Apple TV上没有网页浏览器,所以你目前无法为非越狱设备开发网页应用程序。本机应用程序也是如此。

苹果电视越狱是另一个故事,但听起来这不是你的目标。

UIWebView在TV OS中不存在。以下是苹果tvOS开发者库文档中的列表

tvOS开发库- prereleeasedevelopersearch iOS 9.1到tvOS 9 API Diffs

JavaScript

TVMLJS (add)

objective - c

/usr/include Accounts(已删除)AddressBook(删除)AddressBookUI(删除)assetlibrary(删除)AudioToolbox AVFoundation AVKitCloudKit Contacts (Removed) ContactsUI (Removed) CoreAudioKitCoreBluetooth CoreData CoreLocation CoreMIDI(移除)CoreMotion(已移除)corespolight coreelephony(已移除)EventKit(已移除)EventKitUI(已移除)ExternalAccessory(已移除)游戏控制器GameKit GSS(已移除)HealthKit(已移除)HomeKitiAd(已移除)LocalAuthentication(已移除)MapKit(已移除)MediaPlayer MessageUI(已移除)Metal MultipeerConnectivity(已移除)NetworkExtension (Removed) NewsstandKit (Removed) NotificationCenter(已删除)PassKit(已删除)Photos(已删除)PhotosUI(已删除)PushKit(已移除)QuickLook(已移除)ReplayKit(已移除)SafariServices(移除)Social(移除)StoreKit TVMLKit(新增)TVServices(添加)Twitter(删除)UIKit VideoToolbox(删除)WatchConnectivity (Removed) WatchKit (Removed) WebKit (Removed)

迅速

加速帐户(已删除)AddressBook(已删除)AddressBookUI(删除)assetlibrary(删除)AudioToolbox AudioUnit AVFoundationAVKit CloudKit Contacts (Removed) ContactsUI (Removed) CoreAudioKit(移除)CoreBluetooth CoreData CoreFoundation CoreGraphicsCoreLocation CoreMIDI (Removed) CoreMotion (Removed) corespolightCoreTelephony(已移除)Darwin EventKit(已移除)EventKitUI(已移除)外部配件(移除)基础游戏控制器GameKit GSS(已移除)HealthKit(已移除)HomeKit(已移除)iAd(已移除)LocalAuthentication (Removed) MachO MapKit (Removed) MediaPlayerMessageUI(已移除)Metal MultipeerConnectivity(已移除)NetworkExtension (Removed) NewsstandKit (Removed) NotificationCenter(已移除)ObjectiveC PassKit(已移除)Photos(已移除)PhotosUI(已移除)PushKit(已移除)QuickLook(已移除)ReplayKit(已移除)SafariServices(已移除)simd Social(已移除)StoreKit Swift TVMLKit(添加)TVServices(添加)Twitter(删除)UIKit VideoToolbox(Removed) WatchConnectivity (Removed) WatchKit (Removed) WebKit(删除)

如果你想有任何更接近web开发,检查TVML,这是一个更容易的web开发人员工作的电视应用程序使用一种苹果自己的标记语言。

最新更新