How to use MapKit? Any examples?

Discussion in 'iOS Programming' started by slavemonster, Mar 19, 2009.

  1. slavemonster macrumors newbie

    Joined:
    Mar 19, 2009
  2. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #2
    Right now you have to do all the initializations in code (no IB). Its all in the documentation.
     
  3. slavemonster thread starter macrumors newbie

    Joined:
    Mar 19, 2009
    #3
    Tried this without luck
    - (void)loadView {
    MKMapView *gmap = [[MKMapView alloc] initWithFrame:self.view.frame];
    [self.view addSubview:gmap];
    }

    so I'm asking if there's any (coding) tutorial to create a MapView
     
  4. macfanboy macrumors 6502a

    Joined:
    Jun 5, 2007
    #4
    Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 2_2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5H11 Safari/525.20)





    EDIT: stupid mobile forums removing parts of the previous post.
     
  5. iPhoneBasti macrumors newbie

    Joined:
    May 6, 2009
    #5
    look at this tutorial..

    look at this tutorial..
     

Share This Page