Quote:
Originally Posted by indiantroy
I am not sure but you may want to check one thing.
button.action = @selector(myaction:);
Are you missing the colon at the end of myaction or it's just a typo? I think whenever you specify a function which will be called, you should have at least one argument that is sender of type id in the signature of the event handling method. Target-action pattern to be precise.
Hope this helps..
|
I don't have the colon but it is not necessary. Using button image or title instead of customView works fine.