AX ERROR when using Accessibility Inspector for iOS app.

前端 未结 3 878
名媛妹妹
名媛妹妹 2021-02-18 19:53

I\'m testing an iPhone app with the simulator. Whenever I click on certain elements, I receive this error in console:

AX ERROR: Could not find my mock parent, mo         


        
3条回答
  •  执笔经年
    2021-02-18 20:07

    For me the problem was that the code path eventually called

    [tableView beginUpdates]
    [tableView endUpdates]
    

    within the tableView:cellForRowAtIndexPath: method.

    Removing the call got rid of these AX Error log messages as well as a bunch of other UI glitches.

提交回复
热议问题