Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lamfan

macrumors newbie
Original poster
Aug 4, 2008
6
0
window addSubview:mainView;
mainView addSubview:hitView;

mainView = UIView;
hitView = UIImageView

I had try adding UIView animation and CABasicAnimation to (UIImageView)hitView,

both of that working fine at animation, but when I add the touchesBegan method the detect touch event in (UIView)mainView,

UITouch *touch = [event allTouches] anyObject;
NSLog(@"%@", touch view);

the NSLog will only display the (UIImageView) hitView when the animation stop, if the animation is still running, it will return the (UIView)mainView.

Anyone know how to solve this problem?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.