Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Geolocation - Learning iPhone Programming

Loading...

Sign in or sign up now!
15,617
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 10, 2009

Learn how to build a geolocation iPhone app , from Alasdair Allan, author of Learning iPhone Programming (http://oreilly.com/catalog/9781449379766/). More at http://www.learningiphoneprogramming.com/pages/whereami.html

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • First of all, congratulations for sharing this great video tutorial. Let me just make the following correction because "locationServicesEnabled" changed from a property to a method for iOS3 to iOS4. So, instead of ... if (self.locationManager.location­ServicesEnabled) { ...

    }

    now we must use this code: ... if ([CLLocationManager locationServicesEnabled]) { ... }

    Again congratulations and thanks for sharing

    VF

  • Hi, I do this ma it doesn't work.

    After the alert that ask me if I want the application uses geolocation (I say OK) it doesn't work. No latitude value and no longitude value. And the user location doesn't work.

    Why this?

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • Great video. The more people out there developing geolocation technology, the better our individual leaps and bounds will be.

  • "HHHHHHHHHH-WHERE AM I?"

  • @ferreiramanuelvitor Would you please reply the full WhereAmIAppDelegate?

    I am a new user and I am trying to understand what´s going in Xcode 4.

    It have a problem at:

    -(void) locationManager section,

    the program does not recognize newLocation and oldLocation arguments.

    I got the messages:

    1) invalid argument type void to unary expression 'newLocation'

    2) use of undeclared identifier

  • @nullality did you saved the .h file ?

  • Hello,

    first thank you for the great tutorial. Second, I'd like to ask something: I don't get the values for the latitude and longitude written in the labels. I've seen that somebody else also got the same problem too. I've added the two frameworks at the beginning: CoreLocation.Framework and the MapKit.Framework. It is probably something because of the change from iOS3 to iOS4. Can somebody help me out here? Thank you guys!

  • After I go to File's Owner I try to delegate the latitude / longitude outlets to the blank label fields, but the only thing it will "SEE" is Mapview. WTFMATE?

  • So much for "Learning" You don't seem to explain anything really, you just tell me what to do. You also talk fast and mumble a bit when you're giving orders on what to do, I wish there was a script available as I do not wish to buy or steal the book in your description (or for that matter continue re-re-re-re-reviewing the same 2 second area trying to figure out why I'm watching a video instead of just reading a script or tutorial)

  • hello , can you post a tuturial about "how to share location with discription,photo and email"?"

  • Thank you for posting this, I think the most helpful bit is when things go wrong, like the app delegate. It gets experienced programmers, that are new to the language, in the right debugging mindset.

  • I think the first thing you need to do is learn to upload in higher quality. Fonts should use 720p+

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more