views:

171

answers:

1

in .h file I write -(IBAction)openShuffleForm;

and .m -(IBAction)openShuffleForm{ NSLog(@"XXXXXXX"); }

and connect with even touch up inside but when I run my program it error show this message

-[UITouchData openShuffleForm]: unrecognized selector sent to instance 0x391cc20

** what happen I don't know why !?

A: 

Did you create the link between the button and the implementation? The implementing class should have an IBOutlet of type UIButton. Bind the IBOutlet to the button in Interface builder. This will cause the button to automatically be instantiated when the view is rendered and the BAD ACCESS should be alleviated.

MystikSpiral