![](/img/trans.png)
[英]How can i change the color of the predefined buttons in apple research kit
[英]How to disable Touch ID prompt in Apple Research Kit?
使用ORKPasscodeStep,輸入密碼后,我收到“ Passcode Saved”消息,然后出現“請使用Touch ID進行身份驗證”彈出對話框。 有沒有一種方法可以避免提示輸入Touch ID?
在ORKPasscodeStepViewController.m(位於“通用/步驟/密碼步驟”下)中,有一個名為_useTouchId的屬性。 如果將其設置為false:
_useTouchId = NO;
TouchID應該被禁用並且不會被詢問。 您將必須從測試設備或模擬器重新安裝應用程序,否則,它將繼續詢問TouchID。 這種方法有一些缺點,即每次從Git提取或更新ReseachKit框架時,您都必須進入ResearchKit並更改屬性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.