2

What does this mean?

* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPathStore2 hidesBottomBarWhenPushed]: unrecognized selector sent to instance 0x1cd3d0'

Rob Fonseca-Ensor
  • 15,510
  • 44
  • 57
Matrix
  • 7,477
  • 14
  • 66
  • 97

2 Answers2

9

This means that a string is being sent a message meant for a view controller. Since it's hard to mistake one for the other in most cases, this usually indicates a memory management error where one object (the view controller in this case) has been deallocated and another has been put in its place.

Chuck
  • 234,037
  • 30
  • 302
  • 389
0

That message indicates that you have tried to invoke an object by using a selector that the object does not recognize/handle.

In your example that means that hidesBottomBarWhenPushed is not handled by NSPathStore2 which, just like Chuck explained makes sense since NSPathStore2 is a private subclass of NSString and hidesBottomBarWhenPushed seems to be a selector meant for a view controller.

In short -> you are sending the selector to the wrong object.

Till
  • 27,559
  • 13
  • 88
  • 122