Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UIオートメーションを使用してモーダルビューコントローラーの要素にアクセスする方法はありますか?ローカルターゲットのツリーを印刷するときに、ビューまたは要素が見つかりません。スクリーンショットには、「背後」のビューのみが表示されています。
解決された問題:モーダルビューコントローラーがビュー階層に即座に追加されません。追加:
UIATarget.localTarget().delay(1);
ツリーを印刷する前に問題を解決しました。