CAScrollLayer scrollToPoint: suppress animation
CAScrollLayer scrollToPoint: suppress animation
- Subject: CAScrollLayer scrollToPoint: suppress animation
- From: Chaitanya Pandit <email@hidden>
- Date: Tue, 11 May 2010 15:31:00 +0530
Is there any way to make CAScrollLayer to scroll to a point without animating?
I tried this just before i call scrollToPoint, but didn't work
[CATransaction begin];
[CATransaction setValue: (id) kCFBooleanTrue forKey: kCATransactionDisableActions];
[CATransaction commit];
Any idea?
Thanks,
Chaitanya
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden