Thanks, Julius! Now there's no response lag at all!
- Carl
On Oct 3, 2013, at 1:11 PM, Julius Oklamcak wrote:
>> CGPoint apoint=[[touches anyObject] locationInView:[self view]];
>> [layer setPosition:apoint];
>
> You need to disable implicit CALayer animation(s):
>
> [CATransaction begin];
>
> CGPoint apoint=[[touches anyObject] locationInView:[self view]];
> [layer setPosition:apoint];
You need to disable implicit CALayer animation(s):
[CATransaction begin];
[CATransaction setDisableActions:YES];
[layer setPosition:apoint];
[CATransaction commit];
__
I meant to say -touchesMoved instead of -touchesBegan below.
- Carl
On Oct 3, 2013, at 12:47 PM, Carl Hoefs wrote:
> iOS 6.1.3 & 7.0.2, newb!
>
> I'm seeing an unacceptable lag in my iOS app on drag touches, from when a
> finger is dragged across the screen to when my code updates the screen.