gpt4 book ai didi

ios - [UIBarButtonItem 转换点 :toView:]: unrecognized selector sent to instance

转载 作者:行者123 更新时间:2023-11-28 21:58:26 29 4
gpt4 key购买 nike

我使用模式转场将我的 UIBarButtonItem 链接到 XIB 中的 View Controller ,单击 UIBarButtonItem 后,出现以下错误,我找不到原因,任何人都请帮助我。谢谢。

2014-09-12 11:08:26.551 testingApp[28195:60b] -[UIBarButtonItem convertPoint:toView:]: unrecognized selector sent to instance 0xd22a270
2014-09-12 11:08:26.688 testingApp[28195:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIBarButtonItem convertPoint:toView:]: unrecognized selector sent to instance 0xd22a270'

最佳答案

convertPoint:toView: 方法来自 UIView 类。 UIBarButtonItem 不扩展 UIView(直接或间接)。

关于ios - [UIBarButtonItem 转换点 :toView:]: unrecognized selector sent to instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25800261/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com