问题描述
我的最新应用更新被拒绝,原因是密码视图控制器与Apple所使用的相似.
My latest app update was rejected due to the passcode view controller being too similar to that used by Apple.
但是,我使用系统提供的密码视图.我不知道如何自定义它.我该怎么办?
But, I use the system provided view for the passcode. I don't know how to customise it. How do I do this?
这是一些我用来选择该视图进行身份验证的代码.
Here is some code I use to choose this view to authenticate with..
var policy: LAPolicy?
if #available(iOS 9.0, *) {
policy = .deviceOwnerAuthentication
} else {
context.localizedFallbackTitle = "Fuu!"
policy = .deviceOwnerAuthenticationWithBiometrics
}
这也是我从App Store审核小组收到的消息:您的应用包含模仿iOS PIN码的功能.
Also, this was the message I received from the App Store review team: "Your app contains features that mimic the iOS PIN Code.
请参阅附件的屏幕截图以获取详细信息.
Please see attached screenshots for details.
后续步骤
要解决此问题,请删除或修改这些功能,以使其与iOS的行为和界面明显不同,以免引起用户困惑."
To resolve this issue, please remove or revise these features to make them distinctly different from iOS behaviors and interfaces to avoid causing user confusion."
推荐答案
请尝试使用自定义的视图控制器以获取更多信息,请参见github上的此lib.在Venmo应用中使用的Touch ID和密码框架.
Try using a customised view controller for more info see this lib on githubA Touch ID and Passcode framework used in the Venmo app.
这篇关于如何自定义.deviceOwnerAuthentication视图控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!