Foursquare sample for iOS working. Don’t forget to put your own client id in index.html file in login call.