【问题标题】:What API is Orphion using? [closed]Orphion 使用什么 API? [关闭]
【发布时间】:2014-08-25 18:13:09
【问题描述】:

Orphion 是一款 iOS 应用,它使用“私有 API”,使应用能够感知每根手指触摸屏幕的程度。为了做到这一点,Orphion 使用了什么 API Bastus Trump?难道我们不能都利用这个 API 来实现更强大的触摸屏交互吗? Orphion 之前曾因使用该 API 而被 Apple 批评过,但现在它在 iPhone 上已经推出,没有任何瘫痪。我很想自己制作一个使用发音的应用程序。

http://www.orphion.de/

【问题讨论】:

    标签: ios uitouch pressure


    【解决方案1】:

    在 iOS 8.0 中,UITouch 有一个新属性 majorRadius,即触摸半径。

    在之前的 iOS 版本中,UITouch 有一个私有属性 pathMajorRadius。您可以使用 KVC valueForKey: 方法间接访问此属性,这可能避免了 App Store 检测。

    This question and its answers 更深入地覆盖未记录的pathMajorRadius 属性。

    【讨论】:

      猜你喜欢
      • 2011-04-20
      • 1970-01-01
      • 2013-01-07
      • 2021-03-13
      • 2013-07-21
      • 2010-11-29
      • 1970-01-01
      • 2021-12-20
      相关资源
      最近更新 更多