美文网首页
iOS 3D Touch简介

iOS 3D Touch简介

作者: JQWONG | 来源:发表于2019-01-29 14:57 被阅读0次

    关于3D Touch

    3D Touch是一种立体触控技术,屏幕课适应不同的感压力度触控,苹果公司并于2015年宣布了3D Touch功能。

    3D Touch的使用是需要硬件与系统的配合,iPhone 6s及以上机型(iPhone XR不支持3D TouchiOS 9及以上系统,所以在开发app的时候切记要对于设备与系统进行判断。

    3D Touch用法

    Apple对3D Touch用法给了三种官方用法,分别是:

    • Quicky Action:
      Quick Actions let users do the things they do most often, faster and in fewer steps. Many of these actions can even be done with a single press, right from the Home screen.
      简单说就是快速打开app相对应的页面
    • Peek and Pop:
      Let your users preview all kinds of content and even act on it — without having to actually open it. Users can then press a little deeper to Pop into content in your app.
      简单说就是用于预览的(朋友圈图片和聊天记录都有用到)
    • Pressure Sensitivity:
      Creative apps can take advantage of the pressure-sensing display of iPhone 6s and iPhone 6s Plus in many ways. For example, they can vary line thickness or give a brush a changing style.
      这个用得最多就是画画啦,大力点颜色会深一点,个人感觉就和数位板很像了

    之后会陆续更新3D Touch前两种用法在app中是如何创建使用的,敬请留意

    未经授权,禁止转载!
    尊重原创,转载请注明出处,谢谢!

    相关文章

      网友评论

          本文标题:iOS 3D Touch简介

          本文链接:https://www.haomeiwen.com/subject/imexsqtx.html