Xcode UI testing - Uiviews added with addSubview are completely invisible to the UI tests

前端 未结 2 1392
南旧
南旧 2021-02-10 19:37

I\'ve been giving a try to the new UI tests on XCode 7.3 and I\'ve found what it seems a bug to me.

The problem is that views added through the \"addSubview\" m

2条回答
  •  礼貌的吻别
    2021-02-10 20:07

    Have you trying Xcode recording to get that view ? Just record and press on your view it should works

    Also make sure that this UILabel is not outbounds "you can inspect using Xcode"

提交回复
热议问题