从 AppDelegate.window 使用 accessibilityIdentifier 查找 UI 组件
let button = UIButton(type: .System)
button.accessibilityIdentifier = "likeButton"
addSubview(button)
let button = UIButton.findByAccessibilityIdentifier("likeButton")
iOS 7.0+
muukii,[email protected]
ViewFinder 提供 MIT 许可。有关更多信息,请参阅 LICENSE 文件。