I am trying to create a map app where the user can tag a map with a photo, comment or video, but I am having a problem putting an annotation on the map.
My scenario is like this:
On the 1st page, the user can see three button with the map (1.photo, 2.comment and 3.video). When he wants to tag the map by clicking on the photo button. I use cammerView class, which gives three more buttons (1.take photo, 2.choose photo and 3.use photo); after taking a photo he has a choice of using photo or not. If he wants use this photo the screen must move to the map page, and the annotation must drop.
I am getting problem. I cannot figure out how to drop the annotation on user's map at the current location. This annotation must drop after the clicking the use button which on the photo class.
I also tried this sample application, but in my case I need to have the annotation drop on the map from a button that is on the same page. How can I make this work?
Code from Class1.m (Where Your button is touched):
#Class1.m
#Class2.m
And here last Supportive Class:
.h
.m: