Saturday, 7 September 2013

Creating Custom Control in ios

Creating Custom Control in ios

i Want to Create a Custom Circle View.
I Have made a UIControl Sub Class, And Named as CircleView. i have applied
Corner Radius to make look like Circle.
circleView = [[CircleView alloc]initWithFrame:CGRectmake(0, 0 , 200, 200)];
Next I have Imported to Root View Controller, allocated with frame to Show
on My Root View Controller. So My Problem is ,
When i Touch to Corner of the View its Reacting to the Events.Why..? is
That Possible add Events With in the Circle of Radius.

No comments:

Post a Comment