Select to view content in your preferred language

View Map In SplitViewController

2943
4
08-05-2011 02:46 AM
FaisalSabri
Emerging Contributor
Hi All ,

i want to add points ( (X,Y) as location on the map ) on table view in the Left of the Split view Controller and my map on the details view on the Right is there a way to do that ?? is it possible ??
0 Kudos
4 Replies
ChrisMahlke
Deactivated User
Hi All ,

i want to add points ( (X,Y) as location on the map ) on table view in the Left of the Split view Controller and my map on the details view on the Right is there a way to do that ?? is it possible ??


It's possible.  You should start out by using Apple's SplitViewController template that comes with Xcode.  The RootViewController on the left pane already contains a UITableView, you can store your locations in the table and add the map to the detailsviewcontroller on the right pane.

see:
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/iPadControllers...

At least, if I understand your question correctly.
0 Kudos
FaisalSabri
Emerging Contributor
Dear cmahlke ,

Thank u for you answer , that's exactly what i want to do ,

but , when i tried to create a project with SplitViewController template that comes with Xcode , i have to add the ESRI Reference like the "libArcGIS.a" Framework and the ArcGISBundle , now in the user interface i do not have any ESRI Controls , so i have coped the map from ESRI project i have created in xcode and paste it in the interface to use it and add the ArcGis.h to project , i got 355 Error , 

i don't really what to do !! 

Please see attached Images

Thanks
0 Kudos
NimeshJarecha
Esri Regular Contributor
If you create a XCode project with any iOS template then you should follow steps outlined in the below document to work with ArcGIS for iOS liberary.

http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.0/concepts/index.html#/Creating_a_New_Xcode_P...

Regards,
Nimesh
0 Kudos
FaisalSabri
Emerging Contributor
Dear Nimesh,

Thanks A lot for your Help !!

it's working perfect now 😄
0 Kudos