TvOS_Remote:为tvOS创建遥控器-支持TvOS App和iOS App

时间:2024-05-18 15:36:45
【文件属性】:

文件名称:TvOS_Remote:为tvOS创建遥控器-支持TvOS App和iOS App

文件大小:2.29MB

文件格式:ZIP

更新时间:2024-05-18 15:36:45

Objective-C

#Apple TV Project(接收器) 步骤1:创建一个TvOS项目并从RemoteReceiver导入文件 libRemoteReceiver.a RemoteReceiver.h 或从RemoteReceiver / Code导入文件 RemoteReceiver.h RemoteReceiver.m 步骤2:在ViewController.m文件中,导入RemoteReceiver.h文件 #import "RemoteReceiver.h" 步骤3:在ViewController.m文件中添加以下代码 @interface ViewController () @property (nonatomic, strong) RemoteReceiver *remoteReceiver; @end 步骤4:在viewDidLoad


【文件预览】:
TvOS_Remote-master
----RemoteSender()
--------Code()
--------RemoteSender.h(264B)
--------libRemoteSender.a(1.55MB)
----.gitignore(494B)
----README.md(2KB)
----Sample()
--------AppleTVApp()
--------iOSApp()
----LICENSE(1KB)
----Projects()
--------RemoteSender()
--------RemoteReceiver()
----RemoteReceiver()
--------Code()
--------RemoteReceiver.h(431B)
--------libRemoteReceiver.a(1.52MB)

网友评论