setting an accessibilityLabel on a UIImageView contained in UITableView header

后端 未结 3 2204
Happy的楠姐
Happy的楠姐 2021-02-08 10:43

I have a UITableView that I build in loadView. One of the things I do in loadView is create a UIView to act as the table head

3条回答
  •  灰色年华
    2021-02-08 11:17

    I used KIF for testing my IOS app. In my tableview, I assigned value to tableview.accesssibilityIdentifier instead of tableview.accessibilityLabel. It worked for me. Wanna give it a try?

提交回复
热议问题