标签: ios siri sirikit
当我有多个具有相同名字的联系人时,我的Siri意图变得混乱,喷出一个长标识符。我必须做些什么来处理联系人姓名吗?
答案 0 :(得分:1)
您应该实施resolveRecipients(for:with:)方法,并确保正确构建INPerson
resolveRecipients(for:with:)
INPerson
https://developer.apple.com/documentation/sirikit/insendmessageintenthandling/1638459-resolverecipients
https://developer.apple.com/documentation/sirikit/inperson