I have two images. You have to use a acceleremoter to move a man and avoid a big spike. Here is my .h coding:

IBOutlet UIImageView *rect1;
IBOutlet UIImageView *rect2;

Here is my .m:

bool CGRectIntersectsRect ( CGRect rect1, CGRect rect2 );

I have connected everything in the nib file and I know nothing would happen because there was no error. I need these two things to collide and then generate an end screen. BUT HOW do I put an action in. THANKS!

But I also think that you have to buy an Objective-C programming book and read it, instead of spamming StackOverflow with a lot of similar questions. I wrote that because I think it can be useful to you, not to make you angry.