小编lan*_*rey的帖子

与tvOS互动iPhone

我需要使用iPhone/iPad作为聊天应用程序的键盘.有谁知道如何与tvOS互动iPhone?我没有找到这个功能的库或框架.

感谢帮助.

keyboard chat ios tvos

5
推荐指数
1
解决办法
635
查看次数

带有 UITextField 的自定义键盘扩展

我有带有 UITextField 的自定义键盘扩展。我可以切换到UITextField的文本输入,但不能切换回self.textDocumentProxy. 有谁知道,如何做类似的事情[self.textDocumentProxy becomeFirstResponder]

(顺便说一句,看起来“GIF键盘”应用程序提供了这种可能性)

uitextfield ios textdocumentproxy custom-keyboard

5
推荐指数
1
解决办法
1992
查看次数

搜索Youtube API时说明被截断

为什么Youtube API搜索返回视频的截断说明?这是我用来搜索视频的URL:

https://www.googleapis.com/youtube/v3/search?type=video&part=snippet&safesearch=strict&restriction=US&key=%@&q=%@&pageToken=%@
Run Code Online (Sandbox Code Playgroud)

搜索后如何获得视频的完整描述?

ios youtube-data-api

2
推荐指数
1
解决办法
324
查看次数

触摸特定坐标(UI 测试)

如何使用 UITests 触摸特定坐标?

当我在特定位置录制点击时,我有类似的东西:

XCUIApplication *app = [[XCUIApplication alloc] init];
[[[[[[[[[[app.otherElements containingType:XCUIElementTypeNavigationBar 
identifier:@"Navigation Bar title"] 
childrenMatchingType:XCUIElementTypeOther].element 
childrenMatchingType:XCUIElementTypeOther].element 
childrenMatchingType:XCUIElementTypeOther].element 
childrenMatchingType:XCUIElementTypeOther] elementBoundByIndex:0] 
childrenMatchingType:XCUIElementTypeOther].element 
childrenMatchingType:XCUIElementTypeOther] 
elementBoundByIndex:0].staticTexts[@"Action"] tap];
Run Code Online (Sandbox Code Playgroud)

ios xcode-ui-testing

2
推荐指数
1
解决办法
3035
查看次数