ios中DEBUG中记住用户名和密码

- (void)viewDidLoad
{
    [super viewDidLoad];
    
#ifdef DEBUG
    // 设置测试使用的用户名和密码
    self.nameText.text = @“xiaoshuai";
    self.pwdText.text = @"123";
    [self textChanged];
#endif
}
原文地址:https://www.cnblogs.com/changxs/p/3791594.html