ios中DEBUG中记住用户名和密码 - (void)viewDidLoad { [super viewDidLoad]; #ifdef DEBUG // 设置测试使用的用户名和密码 self.nameText.text = @“xiaoshuai"; self.pwdText.text = @"123"; [self textChanged]; #endif }