What does this mean?
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPathStore2 hidesBottomBarWhenPushed]: unrecognized selector sent to instance 0x1cd3d0'
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.