TapticPlayground:适用于iPhone 6s Taptic Engine的简单Taptic游乐场

时间:2021-05-06 18:47:00
【文件属性】:
文件名称:TapticPlayground:适用于iPhone 6s Taptic Engine的简单Taptic游乐场
文件大小:57KB
文件格式:ZIP
更新时间:2021-05-06 18:47:00
Objective-C Taptic Engine游乐场 此示例用于发现Apple对Taptic Engine功能的使用。 它的驱动方法隐藏在UIDevice和_UITapticEngine类中,并在适当时由UIPreviewInteractionController调用。 此原始示例显示一个UITableViewController,该UITableViewController触发视图控制器预览,并使用preferredContentSize来显示不同大小的预览。 该示例还包括单个项目和分组的操作项。 免责声明 使用Apple Private API时,您将对设备造成的任何损坏承担全部责任。 这包括运行和测试此存储库中包含的所有代码。 研究 Taptic Engine的方法和类可以使用找到,查找UIDevice和_UITapticEngine类。 使用发现了peek和pop的值,这是一个示例输出: //
【文件预览】:
TapticPlayground-master
----ViewControllerPreviewsUsingtheUIViewControllerpreviewingAPIs()
--------LICENSE.txt(2KB)
--------Pods()
--------Podfile.lock(141B)
--------Taptic()
--------Podfile(57B)
--------ViewControllerPreview.xcodeproj()
--------Headers()
--------ViewControllerPreview()
--------ViewControllerPreview.xcworkspace()
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(342B)

网友评论