在受 Touch ID 保护的设备上使用 3D Touch 操作
Use 3D Touch action with Touch ID protected device
大家好,我有一个大问题。
如果我有一个可以通过 Touch ID 保护的应用程序,我必须如何管理感兴趣数据的 3D Touch 快速操作?我必须在执行操作之前询问指纹,或者我让操作在没有任何锁定的情况下执行,或者我可能创建一个警报来告诉用户 'Impossible to use quick action while Touch ID protection is actived' ?
所以,我问你解决这类问题的最佳方法..代码将被很好地接受:)
It should be noted that
sensitive information are not to be shown when the app icon is 3D
touched.
What should happen is that you should allow the user to interact with
the 3D Touch but when the app opens the screen based on user's
selection, the app should prompt for Touch ID or passcode alert.
Unless it's verified app shouldn't function as intended since the user
is not authenticated at that point.
In case you want to stop the actions from appearing all together, then it could be done, you would
just need to change the 3D Touch actions dynamically.
详见,生成action 3D Touch action items有静态和动态两种方式。使用动态的,你可以实现它。
大家好,我有一个大问题。 如果我有一个可以通过 Touch ID 保护的应用程序,我必须如何管理感兴趣数据的 3D Touch 快速操作?我必须在执行操作之前询问指纹,或者我让操作在没有任何锁定的情况下执行,或者我可能创建一个警报来告诉用户 'Impossible to use quick action while Touch ID protection is actived' ? 所以,我问你解决这类问题的最佳方法..代码将被很好地接受:)
It should be noted that sensitive information are not to be shown when the app icon is 3D touched.
What should happen is that you should allow the user to interact with the 3D Touch but when the app opens the screen based on user's selection, the app should prompt for Touch ID or passcode alert. Unless it's verified app shouldn't function as intended since the user is not authenticated at that point.
In case you want to stop the actions from appearing all together, then it could be done, you would just need to change the 3D Touch actions dynamically.
详见