且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何自定义“登录错误无效的登录凭据"?

更新时间:2023-12-04 23:08:22

您可能可以通过以下操作进行自定义:

You might be able to customize by doing the following:

从Parse.com -无法在当前的SDK,但是您可以提供一个覆盖以下字符串的Localizable.strings文件:

From Parse.com - The alert cannot be removed in the current SDK, but you can provide a Localizable.strings file that overrides the following strings:

NSString *ok = NSLocalizedString(@"OK", @"OK");
NSString *title = NSLocalizedString(@"Your Error Title", @"Login Error");
NSString *message = NSLocalizedString(@"Your Error Message", @"invalid login credentials");

将您的错误标题或消息替换为您想要向用户显示的内容.

Replace Your Error Title or Message with what you would like to display to the user.