2020-04-26から1日間の記事一覧

iOSでFirebaseを使用して、データベースに対してCRUDを実行

2022/2/11確認 SimulatorでFirebaseのViewControllerを開いた時に、RealtimeDatabaseにデータを追加できた。 Podfileに追加 pod 'Firebase/Core' pod 'Firebase/Database' pod 'Firebase/Firestore' pod 'Firebase/Auth' M1 Macの場合、下記コマンドでpod in…

バックグラウンドで位置情報を取得してファイルに書き込み

位置情報を取得して表示 の続き Startボタン、Stopボタンを追加して、処理を追加。 // Startボタンタップ時 @IBAction func tapStart(_ sender: Any) { locationManager.startUpdatingLocation() } // Stopボタンタップ時 @IBAction func tapStop(_ sender: …