ios – 与Focus相关的选择器控制方法

ios – 与Focus相关的选择器控制方法,第1张

概述我有一个带有UIPicker的iOS Watch应用程序,我不断收到与之相关的日志,我无法确定与Watch应用程序有关: [default] -[SPRemoteInterface handlePlistDictionary:fromIdentifier:]:2977: ComF:->Plugin method .pickerFocus is not implemented by the cont 我有一个带有UIPicker的iOS Watch应用程序,我不断收到与之相关的日志,我无法确定与Watch应用程序有关:
@H_403_3@[default] -[SPRemoteInterface handlePListDictionary:fromIDentifIEr:]:2977: ComF:->Plugin method .pickerFocus is not implemented by the controller (null)

@H_403_3@[default] -[SPRemoteInterface handlePListDictionary:fromIDentifIEr:]:2977: ComF:->Plugin method .pickerClearFocus is not implemented by the controller (null)

@H_403_3@我检查了文档,最接近我找到的只是pickerDIDFocus()方法,这似乎在谈论我正在使用的一般问题领域,但没有明确的实现方法,特别是.pickerClearFocus和.pickerFocus.

@H_419_10@解决方法 我找到了一个解决方案(WKInterfacebutton).按钮参考插座和按钮发送的动作插座必须在同一个类中.当选择器插口引用视图并且 *** 作引用视图控制器时,会显示该消息. @H_403_3@细胞 :

class aCellVIEw: NSObject {  var delegate: WKInterfaceController? = nil  // The action outlet  @IBAction func doSomeThing() {    self.delegate!.doSomeThing()  }}
@H_403_3@控制器:

class HomeInterfaceController: WKInterfaceController {  // ... where you implement your cell  cell.delegate = self  // ... where you implement your cell}
@H_419_10@ @H_419_10@ 总结

以上是内存溢出为你收集整理的ios – 与Focus相关的选择器控制方法全部内容,希望文章能够帮你解决ios – 与Focus相关的选择器控制方法所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1096537.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存