simagen 0 Newbie Poster

I have my app running with 2 annotations for now.

They are hardcoded in with latitude and longitude.

How do I make it so that I let the user add annotations by dropping a pin where they wish and for my app to recognize this and save where they drop it?

I believe that this is accomplishable by having a btn that when pressed creates a new instance of the annotation pin with draggable properties listed as

MyPin.draggable = YES;

My question is: how and where do I code the class so that the new instance can be created when needed.. and as many as are needed. (5, 8, 29 etc.)

hope this makes sense, if not, then I am basically looking to create something similar to the drop pin feature in google maps on iphones.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.