We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,280 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Annotation MapKit Automation

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.

1
Contributor
0
Replies
1
View
simagen
Newbie Poster
14 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.2773 seconds using 2.56MB