- iPhone Intermediate
- 124 Posts
iPhone Drawing Issue
newbie here on IPhone SDK development issue.
I created a circle with CGContextAddEllipseInRect() and It is working fine.
I have some other view (ball) which I want to move inside the circle randomly (Random moving I did already).
What I want is , If Ball view touches the circle line it has to move back.
How can I know the whether the ball touches the circle line or not ?
Looking forward for your response guys.
- 04-13-2009, 03:01 AM #2