でサーバに位置データを送信する手助けが必要です。私はそれぞれの場所を取って、それを他のすべての場所と一緒に配列に入れて使用し、後で電話に戻すのに役立つ必要があります。前もって感謝します。は、私は、サーバーがまだ設定されていないが、私のアプリが動作するアプリの他の人々の場所を必要とXcodeの
func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
{
let location = locations.last
let center = CLLocationCoordinate2D(latitude: location!.coordinate.latitude, longitude: location!.coordinate.longitude)
let region = MKCoordinateRegion(center: center, span: MKCoordinateSpan(latitudeDelta: 1, longitudeDelta: 1))
self.mapView.setRegion(region, animated: true)
self.locationManager.stopUpdatingLocation()//
}
にそれはあなたが求めているものを少し不明確だと使用を見つける必要があります。 アプリケーションが模擬サーバーの応答として使用できる偽のデータを作成したいですか? – Antzi
いいえデータが届く特定のサーバー以外のすべてをプログラムしたい – Steve
サーバーAPIは指定されていますか? – Antzi