How to implement 3D-Touch Peek-and-select?

后端 未结 3 1202
执念已碎
执念已碎 2020-12-30 11:10

Phone, Reminders, and Maps use a different 3D-Touch Peek UI allowing to select an action in one go. For instance, force-press on a reminder and select \"Remind me on a day\"

3条回答
  •  没有蜡笔的小新
    2020-12-30 11:30

    I asked my question on the Apple Developer Forums as well and received this reply from Apple:

    Currently there is not public API to do these things. Please file bug reports if this is something you want to do in your app, and include specific details of what you're looking to do.

    So it's currently not possible using the official SDK. I filed this enhancement request radar and I encourage you to dupe it if you need this, too!

提交回复
热议问题