My current code is as such:
UIButton *testButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
testButton.frame = CGRectMake(0, 0, 100, 100);
[testButton setTitle:@"HELLOHELLOHELLO" forState:UIControlStateNormal];
[testButton addTarget:self action:@selector(pushPhoneDetailController:) forControlEvents:UIControlEventTouchUpInside];
testButton.tag = toPutTag;
[tempView addSubview:testButton];
But I am not receiving any touches on the buttons. Any idea?
I'll answer to my own bounty here.
This wonderful framework has now been updated by Niels Hansen:
https://github.com/nielswh/iPhone-AR-Toolkit
The latest update contains, among many thing, the ability to click on specific coordinates. I'll recommend every Augmented Reality geek to check out the iPhone-AR-Toolkit!