Re: CAShapeLayer and touches?
Re: CAShapeLayer and touches?
- Subject: Re: CAShapeLayer and touches?
- From: David Duncan <email@hidden>
- Date: Tue, 8 Dec 2009 13:17:43 -0800
On Dec 8, 2009, at 12:52 PM, Eric E. Dolecki wrote:
> Okay - so how would I use the bounds? I thought I tried that in my initial code sample:
Your making this too complicated :).
if([self.view.layer hitTest:[touch locationInView:self]] == pointLayer]) {
// my shape layer got hit
}
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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