【问题标题】:How do I set the accessibilityLabel or accessibilityIdentifier in XCode 5 Interface Builder?如何在 XCode 5 Interface Builder 中设置accessibilityLabel 或accessibilityIdentifier?
【发布时间】:2014-03-08 18:31:01
【问题描述】:

我想这样做是为了测试。许多预定义的 Calabash 步骤依赖于使用此类标识符来识别屏幕上的元素。如果我能帮上忙,我真的不想通过分配accessibilityLabel 来污染我的代码!

【问题讨论】:

    标签: ios7 interface-builder xcode5 accessibility


    【解决方案1】:

    点击 Storyboard 中的 UIImageView -> Identity Inspector(在右侧面板上)-> Accessibility section -> Label。

    【讨论】:

      猜你喜欢
      • 2016-06-14
      • 1970-01-01
      • 2013-10-18
      • 2018-02-11
      • 1970-01-01
      • 2014-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多