[Mono-osx] Problems with UIToolbar buttons

Steve Ives Steve.Ives at synergex.com
Sun Sep 19 11:51:49 EDT 2010

I’m new to this list, and new to MonoTouch, and new to iPhone development generally, so I apologize if this is a really simple question.

In a .xib file I have a view that contains, amongst other things, a UIToolbar. On the toolbar are two UIBarButtonItem buttons. In Interface Builder I can create and hook up outlets for these buttons, and I have created two actions also (to signal the button click events). However, when I attempt to hook up the actions the only “event” I see on the buttons is “selector”. Doing so causes the matching partial methods to be created in my .designer.cs file, and I can implement those methods in my code.

The problem is that when I test the application, the app crashes when I click either of the buttons.

Am I missing something here? Or is there a bug kicking around somewhere?

Again, sorry for the very basic question, but I hope someone can point me in the right direction.


Steve Ives
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100919/0d502b49/attachment.html 

More information about the Mono-osx mailing list