This is a traditional (irritating) message that could be better handled in Objective-C.
You're sending a message to do something to an object that doesn't have that method implemented in it. OC likes to crash in that case. Check to make sure that you are sending setRightBarButtonItem to an object that actually has that method in it. On Sep 7, 2012, at 10:41 AM, [email protected] wrote: > Hey!, > > I'm trying to set a logo image at the right side of the navigation bar for > the entire application, so far I got this: > http://pastie.org/private/pmwhfasyaskynw7xupinrw and I got this exception: > > Terminating app due to uncaught exception 'NSInvalidArgumentException', > reason: '-[_UIBarItemAppearance setRightBarButtonItem:]: unrecognized > selector sent to instance 0x68a9c00' > > There's another way to set a global button for the entire application?. > > Thanks. > > -- > Juan Felipe Alvarez Saldarriaga > http://juan.im > Twitter: @nebiros > Google Talk: [email protected] > Skype: jfasaldarriaga > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
