我使用模态segue将我的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'
答案 0 :(得分:2)
convertPoint:toView:
方法来自UIView
类。 UIBarButtonItem
不会UIView
(直接或间接)延伸。