⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 This is an example application that shows how to use the Location services on the iPhone.
💻 TXT
字号:
### LocateMe ###================================================================================DESCRIPTION:The LocateMe application demonstrates how to use the CLLocationManager class to determine the user's current location. It demonstrates starting and stopping updates, error handling, and changing location parameters.The most important class in this application is MyCLController. This class conforms to the CLLocationManagerDelegate protocol so that it receives updates from CoreLocation. It also uses a simple protocol of its own (MyCLControllerDelegate) to send text to the MainViewController so that the text can be displayed.The FlipSideViewController shows how to get and set options in the CLLocationManager, using the properties of the MyCLController wrapper class.The MainViewController shows how to check if LocationServices are available, using the locationServicesEnabled property of the CLLocationManager class. See the viewDidLoad method for more info.Notes:Even if you have the distance filter set, you may still get updates whenever the accuracy improves, even if the new coordinates are not outside your specified distance.Updates can sometimes be reported with timestamps that are not in chronological order. See the note in MyCLController.m for more info. In general, clients will be interested in whichever measurement is the most accurate.Also note that you can sometimes get updates with timestamps prior to the time that the application was launched. This is just the most recent location data available. More updates will come in as the application runs.================================================================================BUILD REQUIREMENTS:Mac OS X v10.5.3, Xcode 3.1, iPhone OS 2.0================================================================================RUNTIME REQUIREMENTS:Mac OS X v10.5.3, iPhone OS 2.0================================================================================PACKAGING LIST:MainViewController.hMainViewControler.mController class for the "main" view (visible at app start).FlipsideViewController.hFlipsideViewController.mController class for the "flipside" view, which contains all the controls for settings.AccuracyPickerItem.hAccuracyPickerItem.mHelper class for the UIPicker in the flipside view. Each object contains a CLLocationAccuracy value and a description string.LocateMeAppDelegate.hLocateMeAppDelegate.mApp delegate. Creates window and root viewRootViewController.hRootViewController.mRoot view used to flip between main and reverse views. Subviews use delegates to tell this view when to flip between them.MyCLController.hMyClController.mSingleton class used to talk to CoreLocation and send results back to the app's view controllers.main.mThe main entry point for the LocateMe application.================================================================================CHANGES FROM PREVIOUS VERSIONS:Version 1.1- Updated for and tested with iPhone OS 2.0. First public release.- Fixed date error.Version 1.0- First version.================================================================================Copyright (C) 2008 Apple Inc. All rights reserved.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -