ios - How to make stretchable circular region around pin like Reminder App -
i tried following code make circle:
mkcircle *circle = [mkcircle circlewithcentercoordinate:userlocation.coordinate radius:1000]; [map addoverlay:circle];
then in map view's delegate:
- (mkoverlayview *)mapview:(mkmapview *)map viewforoverlay:(id <mkoverlay>)overlay { mkcircleview *circleview = [[mkcircleview alloc] initwithoverlay:overlay]; circleview.strokecolor = [uicolor redcolor]; circleview.fillcolor = [[uicolor redcolor] colorwithalphacomponent:0.4]; return circleview; }
it adds circle around pin, how make circle stretchable reminder app's location reminder feature?
look found:
https://github.com/d0ping/dbmapselectorviewcontroller
you can set lot of things radius of circle, background , stroke color , radius text.
Comments
Post a Comment