Hi Dean,

Funny timing, I was just working on the same problem. And I was able to
figure it out. I won't be at my mac for a few more hours (where my source
code is), but I can send you a snippet in a few hours.

In short though, create a UITableViewCell sublass, put your button on it,
and anything else you like.

Then in the constructor pass in the calling class (where your UITableView
resides). In your calling class, have a function that you want fired which
will launch a new view.

Then in your custom UITableViewCell class, have the TouchUpInside action of
the button call NameOfParentClass.NameOfFunction(optional args if you
like). Make sense?

I'll send you some code in a while.

Cheers,
Brett



On Sun, Jan 15, 2012 at 11:51 PM, Dean Harry <[email protected]> wrote:

> Hi world,****
>
> ** **
>
> Can anyone point me to any example of using a button on a custom
> tableviewcell to launch a view?****
>
> ** **
>
> Cheers****
>
> Dean****
>
> ** **
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to