有没有办法在WatchKit中为旧金山字体设置monospaced?在介绍新系统字体时,演示者仅显示AppKit.
示例代码表示赞赏.
Xcode:7.0 beta WatchOS:2.0
我正在创建一个XCUIElementQuery来获取所有具有staticTexts的单元格以字符串开头(例如"Buy"),但不知道.我用谷歌搜索但没有希望.
绝望的尝试得到staticText但不是cell.
XCUIElementQuery *rows = [app.cells.staticTexts matchingPredicate:[NSPredicate predicateWithFormat:@"label CONTAINS 'Buy'"]];
Run Code Online (Sandbox Code Playgroud)
有经验的人吗?我们parent至少可以得到上面的staticTexts吗?