For animation my UIImageView object I use these approaches:
- Block animation
- Begin/Commit method for animation
UIViewbased object
The problem is next: When I try to tap on some object on my view it does not response to my action. Being animatable the object don’t receive any calls from the main thread.
In my UIViewController I have method below that should handle touched object. All objects receive touch events but the objects which are using in animation block don’t receive any events.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
Anybody knows what is the probem here?
In order for an animated view to recieve user events,
UIViewAnimationOptionAllowUserInteractionmust be passed into the options parameter.