【发布时间】:2021-07-27 13:41:51
【问题描述】:
我有给定的代码
textField.attributedPlaceholder = NSAttributedString(string: Strings.test,
attributes: [NSAttributedString.Key.foregroundColor: ColorTheme.test])
我如何在属性Placeholder 中设置可访问性标识符,以便以后可以在 UITest 中使用包含字符串?
【问题讨论】: