首页 > iOS UI Testing 怎么监听系统弹出的AlertView

iOS UI Testing 怎么监听系统弹出的AlertView

从UI-Testing-Cheat-Sheet找到利用addUIInterruptionMonitorWithDescription("Location Services") 监听定位权限的提示框。不知道推送、通讯录等对应的Description值是什么。用Accessibility Inspector也找不到类似的字符串。


好吧!在stackoverflow 找到通知用User Notifications。有没有文档定义各个事件啊?

【热门文章】
【热门文章】